Closed r-ferrier closed 1 year ago
This also appears to be working exactly as it should. Hoorah!
You can only add a calendar if you are a root user or if you are a neighbourhood or partner admin. You can only add, edit and delete calendars from partners you admin for, and you can't see any calendars in the calendar index except those attached to your partners.
Verified:
This ticket was partially uncompleted but have split out and reticketed because you can actually still do all the things you need to, you just can't see the calendars in the index
A neighbourhood admin can create a calendar, and assign it to any of the partners they admin for
A neighbourhood admin can see the calendars of everyone they admin for
A neighbourhood admin cannot crud calendars not belonging to them/ cannot see any lists of calendars not associated with them (root view - contains calendars not visible to NA)
A neighbourhood admin can delete calendars associated with the partners they admin for
Description
Neighbourhood admins should not be able to create, update, or destroy calendars unless they are associated with partners in their neighbourhood.
Acceptance criteria