Skip to content

Refactor org page permissions to use groups #571

@allanlasser

Description

@allanlasser

Right now, many of the tests around page interactions reference is_staff. This is too broad and would be better scoped by whether the user has permission to take the action based on their group membership.

For example, to view the "Manage Members" page, we currently test whether the user is an admin of the organization or has access to the Django admin. Instead, we can limit with Role-based access so the admin of the organization or a member of our Support team can view the page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions