Restricted editing of Calendar events based on role

Hello,

I have a Calendar view with a few events added. I want

  • Some users (based on their role) to be able to view and edit the event
  • Some to just view the details but not edit.

For most of my app, I have been able to do this, but in this view it’s either that the user is able to view the event from the calendar but not see the details (if they don’t have permission) or they’re able to do both. I want something midway with some users being able to click the item and the event opens in a view only mode. Is this possible?

1 Like

Is “changing the time of events” essential for you in this view, or they can change it in a normal edit screen?

If it’s the latter case, I suggest removing the ability to change the time of events altogether from your screenshot.

Then, show the details screen from the “Configure action” part. Show/hide the edit button inside the details screen based on the roles.

All of the events are multi-day events. So the time actually doesn’t matter. I moved the edit button inside the details screen and did what you suggested. It’s now setup as I needed, thank you so much @ThinhDinh :slight_smile:

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.