Class PagePermissionsActionHelper
java.lang.Object
com.atlassian.confluence.pages.actions.PagePermissionsActionHelper
Provides methods for converting user and group permission strings from web forms into collections of
ContentPermission
objects.-
Constructor Summary
ConstructorDescriptionPagePermissionsActionHelper
(ConfluenceUser currentAuthenticatedUser, UserAccessor userAccessor) -
Method Summary
Modifier and TypeMethodDescriptioncreatePermissions
(String contentPermissionType, String permissionsGroups, String permissionsUsers) Deprecated.createPermissions
(String contentPermissionType, List<String> permissionsGroupList, List<String> permissionsUserList) Returns the viewContentPermission
s of the required type for this helper instance, adding the helper User if they don't have view permission via the list.
-
Constructor Details
-
PagePermissionsActionHelper
public PagePermissionsActionHelper(ConfluenceUser currentAuthenticatedUser, UserAccessor userAccessor)
-
-
Method Details
-
createPermissions
@Deprecated public List<ContentPermission> createPermissions(String contentPermissionType, String permissionsGroups, String permissionsUsers) Deprecated.since 7.5.0 UsecreatePermissions(String, List, List)
insteadReturns the viewContentPermission
s of the required type for this helper instance, adding the helper User if they don't have view permission via the list.- Since:
- 1.0.0
-
createPermissions
public List<ContentPermission> createPermissions(String contentPermissionType, List<String> permissionsGroupList, List<String> permissionsUserList) Returns the viewContentPermission
s of the required type for this helper instance, adding the helper User if they don't have view permission via the list.- Since:
- 7.5.0
-
createPermissions(String, List, List)
instead