Skip to content

Integrate roles and demonstrate on tasks route#27

Merged
secildogan merged 5 commits into
mainfrom
bp/authenticated-flow
May 22, 2025
Merged

Integrate roles and demonstrate on tasks route#27
secildogan merged 5 commits into
mainfrom
bp/authenticated-flow

Conversation

@palaska
Copy link
Copy Markdown
Owner

@palaska palaska commented May 21, 2025

Roles: user, editor and admin.

One can use middlewares in route definitions for gating the endpoints behind authentication/authorization

isLoggedIn
isAdmin
isAuthorizedTo({ task: ["create"] })

@palaska palaska changed the title [wip] Integrate roles and demonstrate on tasks route Integrate roles and demonstrate on tasks route May 22, 2025
secildogan
secildogan previously approved these changes May 22, 2025
@secildogan secildogan merged commit 4cb2891 into main May 22, 2025
3 checks passed
@secildogan secildogan deleted the bp/authenticated-flow branch May 22, 2025 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants