Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

warrence's avatar

Roles and permission between API and application

Hi, I'm going to create An inventory system, is fully API using laravel. And the application can be any form of languages connect using my API. When we talk about inventory system it can be rather complicated, so I need to have roles and permission control of certain roles can do this and that but some roles cannot, or attach permission directly on user what they are allowed to do. I know there is many like sentry or entrust that can do this, but my question is, the role and permission is suppose to do in API level or the application level? What is the standard practice for a completely seperated of API and application system like this?

Thanks in advanced

0 likes
0 replies

Please or to participate in this conversation.