Allowed permission to instructor for accessing company document API
This commit is contained in:
@@ -92,6 +92,8 @@ public class Validator {
|
||||
return companyEntity;
|
||||
} else if (checkIsInstructorManager()) {
|
||||
return companyEntity;
|
||||
}else if (checkIsPreInstructor()) {
|
||||
return companyEntity;
|
||||
}
|
||||
Map<String, Object> userInfo = tokenProvider.getUserInfoAndUserIdFromToken(request);
|
||||
companyService.validateUserWithCompny(getUserId(userInfo), companyId);
|
||||
|
||||
Reference in New Issue
Block a user