Automatic ACL management logic