I'm running a system with user authorisation switched on, and have two frontend calendars showing distinct sets of categories. Authorised users are permitted to post in one or both of the sets of categories. Currently an authorised user sees the "Add an event" link for both calendars, even if he does not have authorisation to add events in the categories used by the calendar. Is it possible to hide the "Add an event" link for front-end calendars that only contain categories for which the user is not authorised to create events?
User A has authorisation for category A
User B has authorisation for category B
User C has authorisation for categories A & B
Front-end calendar A contains events for category A
Front-end calendar B contains events for category B
User A should not be able to see "Add an event" below front-end calendar B and user B should not see it below front-end calendar A. User C should see the link below both calendars.
Hope this makes sense. Currently, User A can create an event through front-end calendar B but cannot pick a category. No error message is shown, so it seems to the user that an event is created. Because the event is not categorised, it doesn't appear in the back-end, so cannot be edited...
Thanks for any assistance