Assign role to user in project
### Summary Users with the role **Project Owner** or **Project Manager** should be able to change other users’ roles to **Jobscript**\* and **DataPublisher**.\ However, when attempting this via the API, the request fails and returns an error. --- ### Steps to Reproduce 1. Log in as a user with the role **Project Owner** or **Project Manager**. 2. Use the API endpoint to update another user’s role. - Target roles: `Jobscript*`, `DataPublisher` 3. Observe the API response. --- ### Current Behavior - The API call returns an error instead of successfully updating the user’s role. - The role change is not applied. - Error msg: "You can not assign role with same or higher level than yours!" --- ### Expected Behavior - A **Project Owner** or **Project Manager** should be able to assign or change other users’ roles to `Jobscript*` and `DataPublisher` without errors. - The API should confirm the update with a success response. --- ### Impact - Project Owners and Managers cannot manage user roles as intended. - This blocks proper delegation of responsibilities and may require manual intervention by administrators.
issue