-
Notifications
You must be signed in to change notification settings - Fork 93
Open
Milestone
Description
Description:
When attempting to update an existing user’s role from Health Administrator to Healthcare Administrator, the system throws a jurisdiction-related error and prevents the update from completing.
This occurs even when the target user and role are both associated with the same jurisdiction.
Steps to Reproduce:
- Log in as an admin user with permission to manage users.
- Edit an existing user with the role Health Administrator.
- Change the role to Healthcare Administrator.
- Keep the same jurisdiction and attempt to save.
Expected Result:
The system should successfully update the user’s role and preserve jurisdiction linkage.
{
"errors": [
{
"message": "Cannot create or update user in offices not under jurisdiction",
"locations": [
{ "line": 2, "column": 3 }
],
"path": ["createOrUpdateUser"],
"extensions": { "code": "INTERNAL_SERVER_ERROR" }
}
],
"data": null
}
CSP blocks
Refused to connect to '<URL>' because it violates the following Content Security Policy directive: "default-src 'self' *.ecrvs.gov.so". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.
Fetch API cannot load https://o4506977426669568.ingest.us.sentry.io/api/... Refused to connect because it violates the document's Content Security Policy.
Extension/port errors
Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received.
Uncaught Error: Attempting to use a disconnected port object.
Asset access
GET https://minio.ecrvs.gov.so/ocrvs/ff2fdb3f-940a-43b5-ae34-ca4b37dce02d.jpg 403 (Forbidden)
Client config
client-config.js:1 Uncaught SyntaxError: Identifier 'scheme' has already been declared
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog