Skip to Content
मेन्यू
This question has been flagged

I created a file management module where admin users can create folder model objects and their corresponding attachments. admins should give user permission of a specific folder to related users. those users should not be able to access other folder objects. I know I can create a group for each folder object but this is not efficient at all. Do you guys have any ideas?  

Avatar
Discard
Author Best Answer

The solution I chose was to implement it from scratch by overriding read, create, write and unlink methods to give access based on the user and give access error when user doesn't have permission.

Avatar
Discard
Related Posts Replies Views Activity
0
अप्रैल 24
1264
3
अग॰ 23
3878
1
फ़र॰ 23
2335
1
अक्तू॰ 22
3408
3
जुल॰ 22
2821