Index BlackBerry Workspaces SDK
BlackBerry Workspaces JSON
PermittedEntityWithPermissionsFromUser
Permitted entity with permissions from a user
Parameters
Name Type Description

isDefault

Boolean

Required
Not null

Will the entity be added to new files by default

permissions

PermissionFromUser

Required
Not null

New permissions

permittedEntity

PermittedEntityFromUser

Required
Not null

The entity to change

revokePermissions

boolean

Default value: false

Whether to revoke entity's permissions from existing files in the folder

role

String

For backwards compatibility - can be left null and this will leave the role unchanged.

Json Format
{
permittedEntity:
{
address: String,
entityType: EntityType
},
permissions:
{
downloadOriginal: Boolean,
download: Boolean,
copy: Boolean,
print: Boolean,
edit: Boolean,
spotlight: Boolean,
watermark: Boolean,
expirationDate: Date,
defaultExpirationDays: Integer,
neverExpires: Boolean,
progAccess: Boolean,
comment: Boolean
},
isDefault: Boolean,
revokePermissions: Boolean,
role: String
}