Class PagePermissionsActionHelper
- java.lang.Object
-
- com.atlassian.confluence.pages.actions.PagePermissionsActionHelper
-
public class PagePermissionsActionHelper extends Object
Provides methods for converting user and group permission strings from web forms into collections ofContentPermission
objects.
-
-
Constructor Summary
Constructors Constructor Description PagePermissionsActionHelper(ConfluenceUser currentAuthenticatedUser, UserAccessor userAccessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<ContentPermission>
createPermissions(String contentPermissionType, String permissionsGroups, String permissionsUsers)
Deprecated.since 7.5.0 UsecreatePermissions(String, List, List)
insteadList<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.
-
-
-
Constructor Detail
-
PagePermissionsActionHelper
public PagePermissionsActionHelper(ConfluenceUser currentAuthenticatedUser, UserAccessor userAccessor)
-
-
Method Detail
-
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
-
-