Skip to content

Laravel JWT authentication with roles and permissions access control.

Notifications You must be signed in to change notification settings

gmurad/TestWork1020

Repository files navigation

Installation

For fill dummy data have to run php artisan migrate --seed

Description

There is three users by defaul Admin, Manager and Guest.
Admin can create, delete and read posts.
Manager has the rights to delete and read posts.
Guest can only read posts.

Users credentials

Email and password for Admin, Manager and Guest according to
"admin@mail.com", "password"
"manager@mail.com", "password"
"guest@mail.com", "password"

Postman instructions

Use file "roles-permissions.postman_collection.json" for import collection.
After login or register save Bearer Token in section roles-permissions->Authorization.

About

Laravel JWT authentication with roles and permissions access control.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages