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.

Users should not be able to view dashboard pages without permission #1534

Closed

Description

@shootermv

Describe the bug:

currently, admin of some chapter can see users of different chapter
after navigate there from browser url:
/dashboard/chapters/2/users
it will be better to show 'Error: Access denied! You don't have permission for this action!' text instead

Activity

  1. added
    UI/UX
    on Sep 14, 2022
  2. ojeytonwilliams commented on Sep 15, 2022

    @ojeytonwilliams
    Contributor

    More generally, any information about a chapter you're not administrating should not be visible. The following pages contain information from all chapters:

    • /dashboard/chapters
    • /dashboard/events
    • /dashboard/venues

    Also, pages for individual events and venues from other chapters should not show anything.

    • dashboard/events/n
    • dashboard/venues/n

    Sponsors are the exception to this. Since they currently attached to the instance they're viewable (but not modifiable) it would make sense for their dashboard to be visible to all chapter admins (but not members).

    • dashboard/sponsors should be visible to admins, but (ideally) the edit button should not.
  3. added
    Help Wanted
    on Sep 15, 2022
  4. changed the title [-]admin of different chapter should not be able to view users of chapter he is not admin of[/-] [+]Users should not be able to view dashboard pages without permission[/+] on Sep 16, 2022
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

    APIHelp WantedUI/UX

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions