fix
This commit is contained in:
parent
079cf09dad
commit
04fe70f204
1 changed files with 1 additions and 1 deletions
|
|
@ -285,11 +285,11 @@ public class EsiaAuthService {
|
|||
orgInfo = getOrgInfo(esiaAccessTokenStr);
|
||||
hasRole = ulDataService.checkRole(esiaAccessTokenStr);
|
||||
fileUploadAllowed = uploadAccessService.canUploadFiles(orgInfo.getOgrn());
|
||||
ervuId = getErvuId(prnOid, orgInfo);
|
||||
if (!hasRole) {
|
||||
LOGGER.error("The user with id = " + prnOid + " does not have the required role");
|
||||
throw new LocalizedException("access_denied", MESSAGE_SOURCE);
|
||||
}
|
||||
ervuId = getErvuId(prnOid, orgInfo);
|
||||
status = AuditConstants.SUCCESS_STATUS_TYPE;
|
||||
}
|
||||
catch (JsonProcessingException e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue