code review changes

This commit is contained in:
Rodica Sutu
2019-07-03 18:23:45 +03:00
parent 041a0ca606
commit 65fd23c294

View File

@@ -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)
{ {