Skip to content

Add role authorization to the API #188

@leo-bogastry

Description

@leo-bogastry

The lunatech-chef API can only be used by a user logged in using a Lunatech email address.
In the back-end a logged in user can access all endpoints
In the front-end only an admin user can access certain parts of the application.
Ideally both front and back-end two would have the same authentication and authorization.

Through out the back-end code an old attempt to implement role authorization was tried but it did not work.

Goal is to have the same authorization in back-end and front-end

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions