Hey Cyllo users! What are your best practices for managing access control? Any tips for keeping things secure and streamlined?
Welcome!
Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.
This question has been flagged
1
Reply
8
Views
Here's how you can define access permissions using a table. This setup allows for control over model-level operations for different user groups. id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink access_example_model_user,access_example_model_user,model_example_model,base.group_user,1,0,0,0 access_example_model_manager,access_example_model_manager,model_example_model,base.group_system,1,1,1,1