i am crating project where folder and files have permisstion and this folder and files have permisstion based on user and groups.
supposer i give root folder permisstion (read,write,delete) for group1
and subfolder or file give diffrent permisstion then how can i manage in database ...?
What I have tried:
DATABASE :
tbl_USER : id,name,project(rootfolder assign),
tbl_permisstion : id,uid,gid,read,write,delete,noaccess
tbl_group : id,groupname