We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Gates
authUser
authLecturer
authCoordinator
authAdmin
authSuperAdmin
Middleware
auth
/
userIsAdmin
Admin
403
userIsSuperAdmin
SuperAdmin
The text was updated successfully, but these errors were encountered:
Added to #5.
Sorry, something went wrong.
No branches or pull requests
Gates
authUser
- Check whether current authenticated user allowed to access the page. Ex: User Profile.authLecturer
- Check if lecturer could access anything allowed for them.authCoordinator
- Check if lecturer is a classroom coordinator of a student.authAdmin
- Check whether current authenticated user is admin.authSuperAdmin
- Check whether current authenticated user is super admin.Middleware
auth
- Default Laravel auth middleware. Check if user is authenticated. If not redirect to/
aka login page.userIsAdmin
- Check if current authenticated user is anAdmin
. If not, abort with403
.userIsSuperAdmin
- Check if current authenticated user is anSuperAdmin
. If not, abort with403
.The text was updated successfully, but these errors were encountered: