Adds a new space membership role "Can edit" that allows creating, uploading, downloading, editing, moving and deleting on a space without access to file versions or the trashbin. Also bumps reva to include the corresponding role constructor. Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
26 lines
1.2 KiB
Go
26 lines
1.2 KiB
Go
package unifiedrole
|
|
|
|
var (
|
|
RoleViewer = roleViewer
|
|
RoleViewerListGrants = roleViewerListGrants
|
|
RoleSpaceViewer = roleSpaceViewer
|
|
RoleEditor = roleEditor
|
|
RoleEditorListGrants = roleEditorListGrants
|
|
RoleEditorListGrantsWithVersions = roleEditorListGrantsWithVersions
|
|
RoleSpaceEditor = roleSpaceEditor
|
|
RoleSpaceEditorWithoutVersions = roleSpaceEditorWithoutVersions
|
|
RoleSpaceEditorWithoutVersionsWithoutTrashbin = roleSpaceEditorWithoutVersionsWithoutTrashbin
|
|
RoleSpaceEditorWithoutTrashbin = roleSpaceEditorWithoutTrashbin
|
|
RoleFileEditor = roleFileEditor
|
|
RoleFileEditorListGrants = roleFileEditorListGrants
|
|
RoleFileEditorListGrantsWithVersions = roleFileEditorListGrantsWithVersions
|
|
RoleEditorLite = roleEditorLite
|
|
RoleManager = roleManager
|
|
RoleSecureViewer = roleSecureViewer
|
|
RoleDenied = roleDenied
|
|
|
|
BuildInRoles = buildInRoles
|
|
|
|
WeightDefinitions = weightRoles
|
|
)
|