Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2054 Представления

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
1270
3
авг. 23
3884
1
февр. 23
2342
1
окт. 22
3412
3
июл. 22
2827