mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
code review changes
This commit is contained in:
@@ -89,7 +89,7 @@ public class RMUserAPI extends RMModelRequest
|
|||||||
* @param userRole User's RM role, one of {@link UserRoles} roles
|
* @param userRole User's RM role, one of {@link UserRoles} roles
|
||||||
* @throws Exception for failed requests
|
* @throws Exception for failed requests
|
||||||
*/
|
*/
|
||||||
public void assignRoleToUser(String userName, String userRole) throws Exception
|
public void assignRoleToUser(String userName, String userRole)
|
||||||
{
|
{
|
||||||
UserModel adminUser = getRmRestWrapper().getTestUser();
|
UserModel adminUser = getRmRestWrapper().getTestUser();
|
||||||
|
|
||||||
@@ -160,10 +160,10 @@ public class RMUserAPI extends RMModelRequest
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper method to add permission on a component to user
|
* Helper method to set the inherited permission on a file plan component
|
||||||
*
|
*
|
||||||
* @param filePlanComponentId The id of the file plan component on which permission should be given
|
* @param filePlanComponentId The id of the file plan component on which inherited permission should be set
|
||||||
* @param permission {@link UserPermissions} to be granted
|
* @param isInherited {@link UserPermissions} to be granted
|
||||||
*/
|
*/
|
||||||
public void setUserPermissionInheritance(String filePlanComponentId, Boolean isInherited)
|
public void setUserPermissionInheritance(String filePlanComponentId, Boolean isInherited)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user