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?
Pertanyaan ini telah diberikan tanda
1
Balas
3091
Tampilan
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.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
|
0
Apr 24
|
2838 | ||
|
Permission access right how to check approve button?
Diselesaikan
|
|
3
Agu 23
|
5777 | |
|
Group access permissings wrong
Diselesaikan
|
|
1
Feb 23
|
4174 | |
|
|
1
Okt 22
|
5138 | ||
|
|
3
Jul 22
|
4498 |