[DELEGATION] Edit attendance and events, delete event for someone (#553)
* [#523] added way to manage attendance for delegated calendars * [DELEGATION] #523 & #524 changed eventURL calculation for delegated events to have the rigth one * [#524] added drag and drop authorisation to delegated event * [#524] added tests * [#524] support for the permission access * [#524] no edit when delegated event is not public
This commit is contained in:
@@ -26,7 +26,7 @@ describe("EventSearchBar", () => {
|
||||
name: "Calendar personal",
|
||||
id: "user1/cal1",
|
||||
color: { light: "#FF0000", dark: "#000" },
|
||||
ownerEmails: ["alice@example.com"],
|
||||
owner: { emails: ["alice@example.com"] },
|
||||
events: {
|
||||
event1: {
|
||||
id: "event1",
|
||||
@@ -58,7 +58,7 @@ describe("EventSearchBar", () => {
|
||||
delegated: true,
|
||||
id: "user2/cal1",
|
||||
color: { light: "#FF0000", dark: "#000" },
|
||||
ownerEmails: ["alice@example.com"],
|
||||
owner: { emails: ["alice@example.com"] },
|
||||
events: {
|
||||
event1: {
|
||||
id: "event1",
|
||||
@@ -89,7 +89,7 @@ describe("EventSearchBar", () => {
|
||||
name: "Calendar shared",
|
||||
id: "user3/cal1",
|
||||
color: { light: "#FF0000", dark: "#000" },
|
||||
ownerEmails: ["alice@example.com"],
|
||||
owner: { emails: ["alice@example.com"] },
|
||||
events: {
|
||||
event1: {
|
||||
id: "event1",
|
||||
|
||||
@@ -24,7 +24,7 @@ describe("SearchResultsPage", () => {
|
||||
name: "Calendar personal",
|
||||
id: "user1/cal1",
|
||||
color: { light: "#FF0000", dark: "#000" },
|
||||
ownerEmails: ["alice@example.com"],
|
||||
owner: { emails: ["alice@example.com"] },
|
||||
events: {
|
||||
event1: {
|
||||
id: "event1",
|
||||
@@ -56,7 +56,7 @@ describe("SearchResultsPage", () => {
|
||||
delegated: true,
|
||||
id: "user2/cal1",
|
||||
color: { light: "#FF0000", dark: "#000" },
|
||||
ownerEmails: ["alice@example.com"],
|
||||
owner: { emails: ["alice@example.com"] },
|
||||
events: {
|
||||
event1: {
|
||||
id: "event1",
|
||||
@@ -87,7 +87,7 @@ describe("SearchResultsPage", () => {
|
||||
name: "Calendar shared",
|
||||
id: "user3/cal1",
|
||||
color: { light: "#FF0000", dark: "#000" },
|
||||
ownerEmails: ["alice@example.com"],
|
||||
owner: { emails: ["alice@example.com"] },
|
||||
events: {
|
||||
event1: {
|
||||
id: "event1",
|
||||
|
||||
Reference in New Issue
Block a user