V
V
Vladimir Singhtlov2018-08-14 22:14:59
Laravel
Vladimir Singhtlov, 2018-08-14 22:14:59

How to divide application functionality into roles?

how to separate a method or controller for each role? After all, the role may have nuances in creating a record, and in the method it is not very beautiful to separate.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Popov, 2018-08-14
@be_a_dancer

To do this, Laravel has such a thing as Policies . I recommend carefully, henceforth, to read the documentation for various functionalities.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question