Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

Add user roles to limit API access #16

@ColinEspinas

Description

@ColinEspinas

This issue needs #10 to be implemented.

Todo:

  • Add roles to user model (add role model and many-to-many relationship)
  • Get the authenticated user
  • Compare roles
  • Limit API methods with roles
  • Users should only be able to modify their own data

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiRelated to the API appenhancementNew feature or request

    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