Skip to main content

rewrite_owner

Function rewrite_owner 

Source
pub fn rewrite_owner(
    acl: &mut Option<Vec<ObjectAclEntry>>,
    old_owner: RoleIdentity,
    new_owner: RoleIdentity,
)
Expand description

aclnewowner: the new owner replaces the old one as grantee and grantor, and entries that become identical merge.