A rep needs to correct a deal before the Friday forecast. You grant the permission that allows the edit. Does it also let them delete the deal? In Open Mercato’s deal API, the answer is yes at the route-permission level. Updating and deleting both require the same feature. That is worth knowing before you make a “Sales rep” role by ticking boxes. Deal route and method permissions
Start with three requests a manager might hear on the same call. “Change the expected close date on my deal.” “Add a new value to the shared qualification field.” “Approve a 15% discount so I can send the quote.” The first updates a record. The second changes what other reps can enter. The third authorizes what the company will offer a customer.
Correcting one record
We checked the method definitions in the deal route. Reading requires the customers.deals.view feature. Creating, updating and deleting each require customers.deals.manage. Those declarations tell you which feature the route checks. They do not establish which records a particular user can reach in your deployment.
For a team that lets reps update deals but reserves deletion for managers, put that distinction in a server-side policy. Hiding Delete in the interface helps a rep avoid a slip. It leaves the permissions question unanswered. In a sandbox, sign in as the rep and try both actions against a disposable deal. Record the response and have a second user reopen the record. Customer module permissions
Changing the choices everyone sees
Suppose a rep wants to add “Awaiting legal” to a qualification field. First ask whether it describes this particular deal or a new state that should appear in everyone’s report. A note may solve the first problem immediately. The second needs an owner who can explain how existing deals will be counted.
Open Mercato declares separate permissions for managing custom-field definitions and managing shared dictionaries. Check which mechanism supplies the choices on your screen. A rep can have a reason to select a value without having a reason to rename that value for every account. Test this with a manager and a rep looking at the same field. After a proposed change, check both the choices on a new deal and the label on an old one. Custom-field permissions and dictionary permissions
Approving the price the customer will receive
A manager approves 15% on a quote for fifty units. Later the buyer asks for five. Even if the percentage stays the same, the manager may reach a different decision. Attach the approval to the quote revision, including the lines and quantities the manager saw. Let the rep request the exception and let a manager complete the approval task. The team implementing the quote has to enforce that decision at the point where it sends or accepts the offer. Try the discount approval example
For the next role review, bring a disposable deal, a shared field and a quote. Ask a rep to fix the date, redefine the field and approve their own exception. Then ask a manager to approve the quote and a rep to change its quantity. Write down who succeeded, what was refused and which revision the customer could actually receive. That record gives you a better basis for granting access than the name of the role.