Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

baya.backend.NestedGroupBackend.has_module_perms should set request.baya_requires #5

@sbuss

Description

@sbuss

(Copied from internal github)

Setting it here allows admin 403 pages to show/inspect the required groups, but I haven't figured out how to make it happen. The request object isn't available in the has_module_perms method which is a big bummer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions