Skip to content

User roles and permissions #12

@yepzdk

Description

@yepzdk

Define and enforce user roles (e.g. anonymous visitor, authenticated user, contributor/uploader, moderator/admin) and the permissions attached to each.

Scope

  • Role model and permission checks across the app (view catalog, view details, upload/share, moderate, manage users).
  • Integrate with the authentication from User login #2 (User login).
  • Guard the upload/share flow and any moderation actions behind appropriate roles.

Acceptance criteria

  • Roles defined and assignable.
  • Permissions enforced on protected actions/routes.
  • Covered by tests.

Part of the User management milestone. Depends on #2.


Design reference

Prototype & design direction: Login & access — #/login

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request
    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions