Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2080 Переглядів

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?  

Аватар
Відмінити
Автор Найкраща відповідь

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.

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
квіт. 24
1286
3
серп. 23
3893
1
лют. 23
2369
1
жовт. 22
3420
3
лип. 22
2840