Overview
//trimblecloud-fileservice/trimblecloud.fileservice.models/AclRole
AclRole
[JVM]
enum AclRole
Represents the roles that can be assigned to an actor in the file space. Supported values are: - spaceManager - contentManager - contentContributor - contentViewer
Entries
| SPACE_MANAGER | [JVM] SPACE_MANAGER SpaceManager has highest level of permissions in the file space. Can perform all operations on the file space. |
| CONTENT_MANAGER | [JVM] CONTENT_MANAGER ContentManager almost as many permissions as SpaceManager, but cannot update/delete the file space. |
| CONTENT_CONTRIBUTOR | [JVM] CONTENT_CONTRIBUTOR ContentContributor has all operations on the file and folder except for the ACL control. |
| SUPPORT_FILE_ADMIN | [JVM] SUPPORT_FILE_ADMIN SupportFileAdmin can bypass the checkout on a main file, but only to manage the support file links |
| CONTENT_VIEWER | [JVM] CONTENT_VIEWER ContentViewer has all read permissions on the file and folder. |
| LIMITED_VIEWER | [JVM] LIMITED_VIEWER The limitedViewer role is designed for users who need restricted access to content without the ability to view sensitive metadata. This is the only role that can be assigned to anonymous users, but it can also be assigned to authenticated users. |
| UNKNOWN | [JVM] UNKNOWN Unknown role used for forward compatibility when new roles are introduced on the server side but not yet supported by this client version. |
Properties
| Name | Summary |
|---|---|
| value | [JVM] val value: String |
Functions
| Name | Summary |
|---|---|
| fromValue | [JVM] open fun fromValue(value: String): AclRole |
| isKnown | [JVM] open fun isKnown(): Boolean Checks if this role is a recognized/known role. |
| valueOf | [JVM] open fun valueOf(name: String): AclRole Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.) |
| values | [JVM] open fun values(): Array<AclRole> Returns an array containing the constants of this enum type, in the order they’re declared. This method may be used to iterate over the constants. |