When a user clicks "Map selected task" on a project they don't meet the requirements for, the API correctly refuses the lock — but the UI shows a generic dialog that doesn't say why:
It wasn't possible to lock this task for you...
Some error occurred when trying to lock this task. Check if your user matches the level, role and permissions required by this project.
The backend response actually contains the precise reason. For example, on POST /api/v2/projects/52246/tasks/actions/lock-for-mapping/2/ (production) I get:
{
"Error": "Mapping not allowed because: MappingNotAllowed.USER_NOT_CORRECT_MAPPING_LEVEL",
"SubCode": "MappingNotAllowed.USER_NOT_CORRECT_MAPPING_LEVEL"
}
So the information ("your mapper experience level is below what this project requires") is available, but never reaches the user.
Steps to reproduce
- As a user whose mapping level is below the project's required level, open a project with a mapping-level requirement (e.g. #52246).
- Select a task and click "Map selected task".
- The generic "It wasn't possible to lock this task for you..." dialog appears.
Expected behavior
The dialog should state the concrete reason, e.g. "Your experience level is below the minimum level this project requires" — and similarly for the other rejection reasons (not a team member, etc.), for both mapping and validation locking.

When a user clicks "Map selected task" on a project they don't meet the requirements for, the API correctly refuses the lock — but the UI shows a generic dialog that doesn't say why:
The backend response actually contains the precise reason. For example, on
POST /api/v2/projects/52246/tasks/actions/lock-for-mapping/2/(production) I get:{ "Error": "Mapping not allowed because: MappingNotAllowed.USER_NOT_CORRECT_MAPPING_LEVEL", "SubCode": "MappingNotAllowed.USER_NOT_CORRECT_MAPPING_LEVEL" }So the information ("your mapper experience level is below what this project requires") is available, but never reaches the user.
Steps to reproduce
Expected behavior
The dialog should state the concrete reason, e.g. "Your experience level is below the minimum level this project requires" — and similarly for the other rejection reasons (not a team member, etc.), for both mapping and validation locking.