N
N
Nubbb2021-07-29 15:28:51
Laravel
Nubbb, 2021-07-29 15:28:51

How to implement authorization?

Good afternoon!

There is an api on Laravel

and 3 cabinets (Vue.js) on different subdomains:
1) Admin
2) Seller's cabinet
3) Courier 's cabinet

4 user roles
admin, saller, courier, user

role dependent?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Bedoyar, 2021-07-30
@Nubbb

Separate authorization methods for each role. Whether in methods you check whether the authorized user has the necessary role.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question