D
D
Dmitry Baskakov2021-06-26 17:21:42
API
Dmitry Baskakov, 2021-06-26 17:21:42

How to organize the API and table structure for assigning roles in CRM?

There is a need to describe the API logic for CRM on Laravel. This logic will include the ability to determine whether the user has access to certain data. Access must be through roles : manager, administrator and all that.

Question: how best to implement the logic of roles and data access in the context of Laravel?

Just in case, I repeat, there will only be an API on the lara, the front will be a separate application

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Kudrya, 2021-06-26
@Mugenzo

I always use laratrust when there are more than 2 roles, it works flawlessly

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question