Get User's Permissions

get

{protocol}//{host}:{port}{basePath}/ic/api/fileserver/v1/users/{user}/effectivepermissions/filesystem/root/{fsPath}

Get user's permissions for a specified folder

Request

Path Parameters
Query Parameters

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Success
Body ()
Root Schema : effectivePermission
Type: object
Computed permission for a given user for a given path. In addition to directly assigned permissions, users can also inherit permissions from thier group membership and via default home permission.
Show Source
Nested Schema : permissions
Type: array
Configured permissions from which rights were derived
Show Source
Nested Schema : rights
Type: array
Show Source
Nested Schema : userGroups
Type: array
List of groups user belongs to.
Show Source
Nested Schema : principleDirectoryPermission
Type: object
Read Only: true
Configured permission for given user/group for given directory.
Show Source
Nested Schema : permissions
Type: object
Configured permission for given directory for given user/group.
Show Source
Nested Schema : rights
Type: array
Assigned rights list. 'propagateRightsToSubfolders' indicates if this permission will be applied to all subfolders. 'all' includes all other rights except 'propagateRightsToSubfolders' which is specified separately.
Allowed Values: [ "read", "write", "list", "delete", "createDir", "deleteDir", "renameDir", "propagateRightsToSubfolders", "all" ]
Show Source
  • Allowed Values: [ "read", "write", "list", "delete", "createDir", "deleteDir", "renameDir", "propagateRightsToSubfolders", "all" ]
    Assigned rights list. 'propagateRightsToSubfolders' indicates if this permission will be applied to all subfolders. 'all' includes all other rights except 'propagateRightsToSubfolders' which is specified separately.
Nested Schema : EffectiveRights
Type: object
Computed rights
Show Source
Nested Schema : derivedFromPermissions
Type: array
List of configured permission ids from which right was derived
Show Source

401 Response

Unauthorized

404 Response

Service not found

500 Response

Internal Server Error
Back to Top