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?
Bu soru işaretlendi
1
Cevapla
3113
Görünümler
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.
Tartışma hoşunuza mı gidiyor? Sadece okumakla kalmayın, katılın!
Özel özelliklerden yararlanmak ve harika topluluğumuzla etkileşime geçmek için bugün bir hesap oluşturun!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
|
0
Nis 24
|
2850 | ||
|
|
3
Ağu 23
|
5784 | ||
|
Group access permissings wrong
Çözüldü
|
|
1
Şub 23
|
4174 | |
|
|
1
Eki 22
|
5156 | ||
|
|
3
Tem 22
|
4508 |