390 — should check when user have project ultimate permission and price budgets ultimate¶
Description¶
Verifies that an employee with "Projects basic" + "Projects ultimate" + "Price budgets ultimate" sees and can edit both time and price budgets on projects, but task budgets stay read-only (because task budget edit needs project-detail ultimate or all-tasks ultimate).
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", "Projects ultimate", 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 and both the time and price budget columns are populated with the API values.
- Open the first project and switch to Project details. Expected: both the time budget and price budget fields are editable.
- Open the Tasks tab and enable "Time budget" and "Price budget" in the column manager. Expected: both columns become visible with the seeded values.
- Open the task row. Expected: in the task modal both the time and price budgets are locked (read-only).
Related¶
- Spec:
playwright/tests/integration/permissions.spec.ts(line 984)