...
Code Block |
---|
package org.everit.jira.reporting.service.permission;
/**
* Semi-Public Permission Service.
*/
public interface PermissionService {
/**
* Get groups and users for the given permission type. Requires System Administrator or Administrator jira permission.
*
* @param permissionType
* the tpye of permission.
* @return the {@link GroupUser} object.
*/
GroupUser getGroupUserByPermissionType(PermissionType permissionType);
/**
* Update groups and users for the given permission. Requires System Administrator or Administrator jira permission.
* This method clears the users and groups previously specified for the permission.
*
* @param permissionType
* the type of permission.
* @param groupUser
* the {@link GroupUser} object.
*/
void updatePermission(PermissionType permissionType, GroupUser groupUser);
} |
...