whbing commented on PR #4738: URL: https://github.com/apache/ozone/pull/4738#issuecomment-1634551085
> I think it is: > > 1. FSO or Legacy with EnableFileSystem: inherit the **latest parent** dir's DEFAULT acls. If latest parent dir has no DEFAULT acls, just inherit bucket acls and the ancestor is not traced. > 2. OBS or Legacy with DisableFileSystem: inherit the the **bucket** DEFAULT acls. > > In normal cases, inheritance starts with the DEFAULT of the bucket. If the middle dir is changed, the sub-node should only follow the behavior of the latest parent dir. I guess so. > > How about that logic? The relevant codes in: `OMKeyRequest#getAclsForKey` and `OMKeyRequest#getAclsForDir` By the way, I can add this logic to `content/security/SecurityAcls.md` if no problem. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
