Commit 46c4cce0 authored by John Red Medrano's avatar John Red Medrano

{dev bugfixed} on validation of user type equals to user

parent 9f599e56
......@@ -47,7 +47,7 @@ class rms:
enums_company = enums.UserTypeEnum.COMPANY_USER_ADMIN.value
enums_department = enums.UserTypeEnum.DEPARTMENT_USER_ADMIN.value
enums_user = enums.UserTypeEnum.USER.value
access_error = "Logged user is not allowed to access this endpoint."
access_error = "Logged user is unauthorize to make another user"
department_error = 'Department should be same with the logged user'
company_error = 'Company should be same with the logged user'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment