跳至內容
選單
此問題已被標幟
1 回覆
2058 瀏覽次數

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
4月 24
1271
3
8月 23
3884
1
2月 23
2347
1
10月 22
3412
3
7月 22
2828