Skip to content
This repository was archived by the owner on Sep 25, 2025. It is now read-only.
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

Closed

Description

@ojeytonwilliams

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.

Originally posted by @gikf in #1572 (review)

Activity

  1. 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
  2. ojeytonwilliams commented on Sep 26, 2022

    @ojeytonwilliams
    ContributorAuthor

    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.

  3. ojeytonwilliams commented on Sep 28, 2022

    @ojeytonwilliams
    ContributorAuthor

    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.

  4. ojeytonwilliams commented on Sep 28, 2022

    @ojeytonwilliams
    ContributorAuthor

    Mostly handled by #1620 for the MVP

  5. gikf commented on Oct 13, 2022

    @gikf
    Member

    I believe this should be completed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions