c/backend › command
0votes

Role-Based Access ControlPromptLow risk

submitted by u/client to c/backend · 1 copy

Limit sensitive features to the right people

Prompt · 1 variable
Attach a role field to every auth token and gate each protected route and API mutation against a whitelist of accepted roles before executing
The outcome this command should help produce.
0 commentsreport
0 comments

Log in to join the discussion.