public class PagePermissionsActionHelper extends Object
ContentPermission objects.| Constructor and Description |
|---|
PagePermissionsActionHelper(ConfluenceUser currentAuthenticatedUser,
UserAccessor userAccessor) |
| Modifier and Type | Method and Description |
|---|---|
List<ContentPermission> |
createPermissions(String contentPermissionType,
List<String> permissionsGroupList,
List<String> permissionsUserList)
Returns the view
ContentPermissions of the required type for this helper instance, adding the helper User
if they don't have view permission via the list. |
List<ContentPermission> |
createPermissions(String contentPermissionType,
String permissionsGroups,
String permissionsUsers)
Deprecated.
since 7.5.0 Use
createPermissions(String, List, List) instead |
public PagePermissionsActionHelper(ConfluenceUser currentAuthenticatedUser, UserAccessor userAccessor)
@Deprecated public List<ContentPermission> createPermissions(String contentPermissionType, String permissionsGroups, String permissionsUsers)
createPermissions(String, List, List) insteadContentPermissions of the required type for this helper instance, adding the helper User
if they don't have view permission via the list.public List<ContentPermission> createPermissions(String contentPermissionType, List<String> permissionsGroupList, List<String> permissionsUserList)
ContentPermissions of the required type for this helper instance, adding the helper User
if they don't have view permission via the list.Copyright © 2003–2021 Atlassian. All rights reserved.