Skip to contents

Gets the effective permissions for a user on a specific resource. The response includes read and modify permissions which map to:

  • read: retrieve file operations

  • modify: update file (if resource is a file) or upload file (if resource is a folder)

Usage

effectiveRights(ident, from = pwd(), memberId = NULL)

Arguments

ident

Ident of the requested resource resourceId, entityId or path

from

root for a relativePath

memberId

The ID of the user/member to check permissions for. If NULL, uses the current authenticated user.

Value

A list containing the effective rights/permissions for the user on the resource