-
- 24,544 Posts
The easiest method is a simple utility snippet:
Put this tag above the MyCalendar tag on the calendar page
Create this snippet:
<?php
/* AdminOnly snippet */
if (! $modx->user->isMember('Administrator')) {
return "Sorry, you're not authorized to see this page";
}
return '';
Only members of the Administrator group will see the page. Others will see the "Sorry" message.
-
- 1,154 Posts
If you want the general public to still be able to see the calendar I believe contexts can help you. You could make a context, give the user group and admins fuller access while limiting anonymous group to read only.
I haven't tested this though.