User Access Flags (What They Do)
This document explains user access flags in MAXsi POS and how they affect the UI and API behavior.
Summary of Flags
show_cost- Whether the user can see cost price.
show_price- Whether the user can see selling price.
allow_discount- Whether the user can enter discounts in native POS.
view_right- Whether the user can view data created by other users.
edit_right- Whether the user can edit data created by other users.
Notes:
- Flags follow the user configuration only; there are no automatic “Owner/Admin exceptions”.
- If an Owner/Admin needs full access, make sure the flags are enabled.
App Impact
POS (Native)
show_price = OFF- Prices in cart, summary, and edit item screens show as “-”.
show_cost = OFF- Cost pill in edit item is hidden; “below cost” warnings can still work.
allow_discount = OFF- Discount input is disabled (can’t enter a new discount).
view_right = OFF- Open Bills shows only the user’s own bills.
edit_right = OFF- If
view_right = ON, other users’ bills may be visible but the Select action is disabled.
- If
Products
show_price = OFF- Selling price, promo, and group prices are hidden.
show_cost = OFF- Cost price and average cost per warehouse are hidden.
Sales & Payments
view_right = OFF- Sales data is filtered to the current user only.
edit_right = OFF- Editing/updating/deleting payments may be rejected when the payment does not belong to the current user.
How to Change Flags
- Open Users.
- Select the user.
- Toggle:
- Show Cost
- Show Price
- Allow Discount
- View Right
- Edit Right
- Save.
Practical Tips
- Cashiers:
show_price = ON,allow_discountbased on your policy. - Warehouse staff:
show_costcan be ON,show_priceas needed. - Owner/Admin: enable all flags if full access is required.