public class PagePermissionsActionHelper extends Object implements Serializable
ContentPermission
objects.Constructor and Description |
---|
PagePermissionsActionHelper(ConfluenceUser currentAuthenticatedUser,
UserAccessor userAccessor) |
PagePermissionsActionHelper(com.atlassian.user.User currentAuthenticatedUser)
|
Modifier and Type | Method and Description |
---|---|
List<ContentPermission> |
createPermissions(String contentPermissionType,
String permissionsGroups,
String permissionsUsers)
Returns the view
ContentPermission s of the required type for this helper instance, adding the helper User
if they don't have view permission via the list. |
@Deprecated public PagePermissionsActionHelper(com.atlassian.user.User currentAuthenticatedUser)
public PagePermissionsActionHelper(ConfluenceUser currentAuthenticatedUser, UserAccessor userAccessor)
public List<ContentPermission> createPermissions(String contentPermissionType, String permissionsGroups, String permissionsUsers)
ContentPermission
s of the required type for this helper instance, adding the helper User
if they don't have view permission via the list.Copyright © 2003–2016 Atlassian. All rights reserved.