Skip to content

feat: plug restrict routes #14

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

enricoprazeres
Copy link

@enricoprazeres enricoprazeres commented Jul 8, 2025

Closes #8

What it shows when the user has no permission to access the route

image
plug AtlasWeb.Plugs.UserRequires, user_types: [:admin]

@enricoprazeres enricoprazeres self-assigned this Jul 8, 2025
@deployum
Copy link

deployum bot commented Jul 8, 2025

The preview deployment is ready. 🟢

Open Preview | Open Build Logs

Last updated at: 2025-07-14 19:33:57 CET

@enricoprazeres enricoprazeres force-pushed the ep/plug-restrict-routes branch from 4a02fd8 to a7bc1db Compare July 14, 2025 19:28
@enricoprazeres enricoprazeres marked this pull request as ready for review July 14, 2025 19:29
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.

feat: plugs to restrict user type from accessing specific routes
1 participant