Hello,
I have been working on a custom CMS for my website, and I’m currently facing a challenge in managing multiple user roles effectively. Specifically, I want to assign different levels of access and capabilities to users such as admins, content creators, and moderators, but I’m having trouble ensuring that permissions are set up properly for each role. Does anyone have experience with this?
I’ve been trying to set up roles using a basic permission model, but I’m running into some issues with nested roles. For instance, I want admins to have full access, but also allow content creators to upload content and moderators to manage comments without giving them full access to the site settings. I’d love to hear about any strategies or tools that might help make this process smoother. I have checked php - How to structure user permissions for a cms - Stack Overflow Selenium guide for reference .
Additionally, I’m curious if anyone has implemented any role-based access control (RBAC) frameworks within a custom CMS. Any tips on best practices or code snippets would be greatly appreciated!
Thank you !