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

CesarMartinez's avatar

Permission based on roles

Hi, I'm a bit hesitant how to tackle this, should i use just middleware based upon just the role of the user or should i use a table in my data base to store this, and with the several middlewares validate the permission for any request of the user, any suggestions how to approach this problem?

0 likes
0 replies

Please or to participate in this conversation.