You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 25, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 25, 2025. It is now read-only.
Sponsors Dashboard should not be visible without permission #1608
I know Sponsors dashboard is hidden from navigating to it without permission, but I've cheated and entered there directly. To see if individual pages (/dashboard/sponsors/1, /dashboard/sponsors/1/edit) will display access denied like other dashboards. It would be nice to make it similar to others.
changed the title [-]I know _Sponsors_ dashboard is hidden from navigating to it without permission, but I've cheated and entered there directly. To see if individual pages (`/dashboard/sponsors/1`, `/dashboard/sponsors/1/edit`) will display access denied like other dashboards. It would be nice to make it similar to others.[/-][+]Sponsors Dashboard should not be visible without permission[/+]on Sep 26, 2022
This isn't completely trivial because Sponsors occupy a weird place in our data model. They're not attached to Chapters so it doesn't make sense to allow Chapter administrators to modify them, but they need to be able to add them to events.
We can either handle them like Venues (i.e. attach them to Chapters) or, if we need them to be instance wide, we could grant Chapter administrators a new SponsorView InstancePermission.
Granting administrators permission is the simplest approach, so should be fine for the MVP.
However, post-MVP an instance-wide pool of Sponsors is probably the way to go, assuming we want instance owners to be the only ones capable of managing Sponsors. They would then need to be able to attach sponsors to Chapters and at that point administrators would be able to view those sponsors and attach them to events.
Activity
[-]I know _Sponsors_ dashboard is hidden from navigating to it without permission, but I've cheated and entered there directly. To see if individual pages (`/dashboard/sponsors/1`, `/dashboard/sponsors/1/edit`) will display access denied like other dashboards. It would be nice to make it similar to others.[/-][+]Sponsors Dashboard should not be visible without permission[/+]ojeytonwilliams commentedon Sep 26, 2022
This isn't completely trivial because Sponsors occupy a weird place in our data model. They're not attached to Chapters so it doesn't make sense to allow Chapter administrators to modify them, but they need to be able to add them to events.
We can either handle them like Venues (i.e. attach them to Chapters) or, if we need them to be instance wide, we could grant Chapter administrators a new SponsorView InstancePermission.
ojeytonwilliams commentedon Sep 28, 2022
Granting administrators permission is the simplest approach, so should be fine for the MVP.
However, post-MVP an instance-wide pool of Sponsors is probably the way to go, assuming we want instance owners to be the only ones capable of managing Sponsors. They would then need to be able to attach sponsors to Chapters and at that point administrators would be able to view those sponsors and attach them to events.
ojeytonwilliams commentedon Sep 28, 2022
Mostly handled by #1620 for the MVP
gikf commentedon Oct 13, 2022
I believe this should be completed now.