public interface UserPermissionService
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
checkUserCreation(String userId,
Collection<String> userGroupKeys,
String userTenantId,
String userToCreateId)
Evaluates the permissions for the given user when creating a new user.
|
Optional<String> |
checkUserCreation(String userId,
String userToCreateId)
Deprecated.
|
Optional<String> |
checkUserDeactivation(String userId,
Collection<String> userGroupKeys,
String userTenantId,
String userToDeactivateId)
Evaluates the permissions for the given user when deactivating a user.
|
Optional<String> |
checkUserDeactivation(String userId,
String userToDeactivateId)
Deprecated.
|
Optional<String> |
checkUserReactivation(String userId,
Collection<String> userGroupKeys,
String userTenantId,
String userToReactivateId) |
Optional<String> |
checkUserReactivation(String userId,
String userToReactivateId)
Deprecated.
|
@Deprecated Optional<String> checkUserCreation(String userId, String userToCreateId)
checkUserCreation(String, Collection, String, String) insteaduserId - the id of the user to check the permissions for (not the one being deactivated)userToCreateId - the id of the new user to be createdOptional<String> checkUserCreation(String userId, Collection<String> userGroupKeys, String userTenantId, String userToCreateId)
userId - the id of the user to check the permissions for (not the one being deactivated)userGroupKeys - the group keys of the user to check the permissionsuserTenantId - the tenant id of the user to check the permissionsuserToCreateId - the id of the new user to be created@Deprecated Optional<String> checkUserDeactivation(String userId, String userToDeactivateId)
checkUserDeactivation(String, Collection, String, String) insteaduserId - the id of the user to check the permissions for (not the one being deactivated)userToDeactivateId - the id of the user to be deactivatedOptional<String> checkUserDeactivation(String userId, Collection<String> userGroupKeys, String userTenantId, String userToDeactivateId)
userId - the id of the user to check the permissions for (not the one being deactivated)userGroupKeys - the group keys of the user to check the permissionsuserTenantId - the tenant id of the user to check the permissionsuserToDeactivateId - the id of the user to be deactivated@Deprecated Optional<String> checkUserReactivation(String userId, String userToReactivateId)
checkUserReactivation(String, Collection, String, String) insteaduserId - the id of the user to check the permissions for (not the one being reactivated)userToReactivateId - the id of the user to be reactivated