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?
Această întrebare a fost marcată
1
Răspunde
3094
Vizualizări
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.
Îți place discuția? Nu doar citi, alătură-te!
Creează-ți un cont astăzi pentru a beneficia de funcții exclusive și a interacționa cu minunata noastră comunitate!
Înscrie-te| Postări similare | Răspunsuri | Vizualizări | Activitate | |
|---|---|---|---|---|
|
|
0
apr. 24
|
2838 | ||
|
|
3
aug. 23
|
5777 | ||
|
Group access permissings wrong
Rezolvat
|
|
1
feb. 23
|
4174 | |
|
|
1
oct. 22
|
5140 | ||
|
|
3
iul. 22
|
4501 |