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?
This question has been flagged
1
Reply
3041
Views
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.
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|
|
0
Apr 24
|
2668 | ||
|
|
3
Aug 23
|
5614 | ||
|
|
1
Feb 23
|
3973 | ||
|
|
1
Oct 22
|
5003 | ||
|
|
3
Jul 22
|
4339 |