public interface SpaceRolesService
Modifier and Type | Method and Description |
---|---|
SpaceRoles |
getConfiguredSpaceRoles(String spaceKey)
Get the configured space roles of a space.
|
SpaceRoles |
getEffectiveSpaceRoles(String spaceKey)
Get the effective space roles of a space.
|
SpaceRoles getEffectiveSpaceRoles(String spaceKey)
The effective space roles are calculated as followed:
Authors: - when no authors are configured, every user with edit permissions in the space is an author. - when authors are configured in the space, those are the authors. - all Confluence administrators are automatically authors.
Reviewers: - when no reviewers and no authors are configured, every user with view permissions in the space is a reviewer. - when reviewers are configured in the space, those are the reviewers. - all Confluence administrators are automatically reviewers.
Translators: - when no translators and no authors are configured, every user with edit permissions in the space is a translator. - when translators are configured in the space, those are the translators. - all Confluence administrators are automatically authors.
Doc-Admins: - all space admins are automatically doc-admins. - all users configured as doc-admins are doc-admins. - all Confluence administrators are automatically doc-admins.
spaceKey
- the space key of the space to retrieve the space roles fromSpaceRoles getConfiguredSpaceRoles(String spaceKey)
spaceKey
- the space key of the space to retrieve the space roles fromCopyright © 2019 K15t GmbH. All rights reserved.