Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2063 Prikazi

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
Opusti
Avtor 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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
apr. 24
1278
3
avg. 23
3885
1
feb. 23
2355
1
okt. 22
3416
3
jul. 22
2831