Skip to content

[Documentation] Add permission mask bits in API doc #4119

Open
@maximecharriere

Description

@maximecharriere

Description

When dealing with user permissions, it's mandatory to know the bit value for each permissions.
As I didn't found a doc about it, I had to dig in the code to found the Permission enum in the following file :
https://github.com/sct/overseerr/blob/7f868f38e6f2f1834ea12dc8f5c095000c7a3c09/server/lib/permissions.ts#L1C1-L29C1

Desired Behavior

How permissions works and their bit value should be present in the API doc.

Additional Context

No response

Code of Conduct

  • I agree to follow Overseerr's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions