395 — should check when user have project detail ultimate and all tasks ultimate permission¶
Description¶
Verifies that an employee with both "Project detail ultimate" and "All tasks ultimate" project-scoped roles can fully edit project details (both time and price budgets) and fully edit task budgets (both time and price) inside the task modal.
Preconditions¶
- A signed-in owner who will create the project role, plus an invited employee who will be added as a member of the first project with that role.
- Seed data: two projects with budgets and tasks plus one time record per project.
Steps¶
- As the owner, go to Roles → Project roles, add a project role with the test title, toggle "Projects ultimate" and "All tasks ultimate" on (project-role flavour), then save. Expected: the new project role exists.
- Add the employee to the first project with this role via API. Expected: the API confirms the member with the matching role id.
- Reset the session and sign in as the employee. Open the Projects list. Expected: only 1 project is visible.
- Inspect the columns. Expected: the time budget column is visible with the API value; the price budget column is hidden (project list price column still gated by the global Price budgets permission).
- Open the project and switch to Project details. Expected: both the time and price budget fields are editable.
- Open the Tasks tab and enable "Time budget" and "Price budget" via 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 budget fields are editable.
Related¶
- Spec:
playwright/tests/integration/permissions.spec.ts(line 1325)