Skip to contents

Deletes a specific ACL entry from a resource.

Usage

removeResourcePermission(ident, aclId, from = pwd())

Arguments

ident

Identifier of the resource. Can be a path, resource ID, or entity ID.

aclId

Character. The ID of the ACL entry to remove (from getResourcePermissions()).

from

Root path for resolving relative paths. Defaults to pwd().

Value

TRUE if the entry was removed successfully, FALSE otherwise.

Examples

if (FALSE) { # \dontrun{
acl <- getResourcePermissions("/Projects/MyProject")
removeResourcePermission("/Projects/MyProject", acl$id[1])
} # }