391 — should check when user have only project basic permission and price budgets ultimate¶
Description¶
Verifies that an employee with "Projects basic" + "Price budgets ultimate" but without "Projects ultimate" can see both time and price budgets, but every field is read-only (no project ultimate means no edit on details, and task budgets stay locked too).
Preconditions¶
- A signed-in owner who will create the role, plus an invited employee who will receive it.
- Seed data: two projects with budgets and tasks plus one time record per project.
Steps¶
- As the owner, go to Roles → User roles, add a user role with the test title, toggle "Projects basic" and "Price budgets ultimate" on, then save. Expected: the new role exists.
- Assign the role to the invited employee via API and reset the session.
- Sign in as the employee and open the Projects list. Expected: both projects are visible with both the time and price budget columns populated.
- Open the first project and switch to Project details. Expected: both the time budget and price budget fields are locked (read-only).
- Open the Tasks tab and enable "Time budget" and "Price budget" in the column manager. Expected: both columns are visible with the seeded values.
- Open the task row. Expected: in the task modal both budgets are locked.
Related¶
- Spec:
playwright/tests/integration/permissions.spec.ts(line 1055)