Project

General

Profile

roos-fs tasks #289

Updated by Vadim Golub 9 months ago

Currently, the Manager **We need to introduce a new user role can — Datamaster — designed for a user responsible for updating and importing customer data.**  

 The Datamaster should have permissions to manage core operational entities (cars, locations, services, tasks) but must not be able to view and or edit prices in the Services services and Tasks modules. This includes: tasks, and Create, edit, or manage other users users 

 Required Implementation: 
 New User Role with next permissions: 
 - Price fields in add/edit forms for services and tasks. Vehicles — Create, Edit, View 
 - Price columns in list tables for services and tasks. Locations — Create, Edit, View 
 - Any screen Services — Create, Edit, View, Change states 
 - Tasks — Create, Edit, View, Change states 
 - Users — No create, edit, or section where prices are displayed. view rights 
 The requirement is to remove all visibility and edit - Leads — No access 


 <u>Next perms needs to prices for users with the Manager role, so they cannot see prices **anywhere in the system** , regardless of context. 

 **Required Implementation:** be refined:</u> 
 - Hide the Price field entirely from the Add/Edit Task and Add/Edit Service forms for Manager role users. Customers — View only 
 - Hide the Price column in the Services and Tasks tables for Manager role users. Vehicle Users — View only 
 - Ensure prices are hidden in all other places where they could be viewed - Service/Task detail pages for example, Task preview in the Service Details menu, etc.  
 - Modify role-based permissions to block view Prices (in services & tasks) — No access (if he can create tasks and edit rights for prices when the logged-in user is a Manager. services, he presumably can set price there, so he needs price access) 
 - Ensure back-end validation prevents prices from being manipulated through the browser console. 

 Here's some examples: 

 <img style="width: 1920px;" src="clipboard-202508141443-df2ys.png"><br> Additional costs — No access 
 <img style="width: 1920px;" src="clipboard-202508141444-xngkd.png"><br> - Deletion — No deletion rights 


 Expected Behavior: 
 <img style="width: 1920px;" src="clipboard-202508141445-9oqzq.png"><br> 

 **Expected Behavior / Acceptance Criteria:** 
 - A user with the Manager role cannot see or edit prices anywhere Role appears in the system, even from the admin menus roles dropdown and fields, that are suppose to can be hidden for the manager role. assigned by Admin. 
 - Price-related fields, columns, Datamaster can fully work with vehicles, locations, services, and totals are hidden or removed entirely from the UI for Manager role users. tasks (minus price handling). 
 **- - All other roles permission must stay permissions follow the same, unaffected**  
 table above. 


 We need firstly understand the main function of a user with that role so we can refine his perms  





 Ask ChatGPT 

Back