[{"data":1,"prerenderedAt":707},["ShallowReactive",2],{"navigation":3,"\u002Fdocs\u002Fgetting-started\u002Froles":159,"\u002Fdocs\u002Fgetting-started\u002Froles-surround":702},[4,28,54,85,115,145],{"title":5,"path":6,"stem":7,"children":8,"icon":27},"Getting started","\u002Fdocs\u002Fgetting-started","1.docs\u002F1.getting-started\u002F1.index",[9,12,17,22],{"title":10,"path":6,"stem":7,"icon":11},"What SecureOps is","i-lucide-book-open",{"title":13,"path":14,"stem":15,"icon":16},"Signing in","\u002Fdocs\u002Fgetting-started\u002Fsigning-in","1.docs\u002F1.getting-started\u002F2.signing-in","i-lucide-log-in",{"title":18,"path":19,"stem":20,"icon":21},"Finding your way","\u002Fdocs\u002Fgetting-started\u002Ffinding-your-way","1.docs\u002F1.getting-started\u002F3.finding-your-way","i-lucide-compass",{"title":23,"path":24,"stem":25,"icon":26},"Roles and what each sees","\u002Fdocs\u002Fgetting-started\u002Froles","1.docs\u002F1.getting-started\u002F4.roles","i-lucide-users","i-lucide-rocket",{"title":29,"icon":30,"path":31,"stem":32,"children":33,"page":53},"Selling","i-lucide-scan-barcode","\u002Fdocs\u002Fselling","1.docs\u002F2.selling",[34,38,43,48],{"title":35,"path":36,"stem":37,"icon":30},"The till","\u002Fdocs\u002Fselling\u002Fthe-till","1.docs\u002F2.selling\u002F1.the-till",{"title":39,"path":40,"stem":41,"icon":42},"Receipts","\u002Fdocs\u002Fselling\u002Freceipts","1.docs\u002F2.selling\u002F2.receipts","i-lucide-receipt",{"title":44,"path":45,"stem":46,"icon":47},"Sales by day","\u002Fdocs\u002Fselling\u002Fsales-by-day","1.docs\u002F2.selling\u002F3.sales-by-day","i-lucide-calendar-days",{"title":49,"path":50,"stem":51,"icon":52},"Closing the day","\u002Fdocs\u002Fselling\u002Fclosing-the-day","1.docs\u002F2.selling\u002F4.closing-the-day","i-lucide-send",false,{"title":55,"icon":56,"path":57,"stem":58,"children":59,"page":53},"Stock","i-lucide-boxes","\u002Fdocs\u002Fstock","1.docs\u002F3.stock",[60,65,70,75,80],{"title":61,"path":62,"stem":63,"icon":64},"Products","\u002Fdocs\u002Fstock\u002Fproducts","1.docs\u002F3.stock\u002F1.products","i-lucide-pill",{"title":66,"path":67,"stem":68,"icon":69},"The FDA register","\u002Fdocs\u002Fstock\u002Fthe-fda-register","1.docs\u002F3.stock\u002F2.the-fda-register","i-lucide-badge-check",{"title":71,"path":72,"stem":73,"icon":74},"Purchases and deliveries","\u002Fdocs\u002Fstock\u002Fpurchases-and-deliveries","1.docs\u002F3.stock\u002F3.purchases-and-deliveries","i-lucide-truck",{"title":76,"path":77,"stem":78,"icon":79},"Expiry and quarantine","\u002Fdocs\u002Fstock\u002Fexpiry-and-quarantine","1.docs\u002F3.stock\u002F4.expiry-and-quarantine","i-lucide-calendar-clock",{"title":81,"path":82,"stem":83,"icon":84},"Disposals","\u002Fdocs\u002Fstock\u002Fdisposals","1.docs\u002F3.stock\u002F5.disposals","i-lucide-flame",{"title":86,"icon":87,"path":88,"stem":89,"children":90,"page":53},"Compliance","i-lucide-shield-check","\u002Fdocs\u002Fcompliance","1.docs\u002F4.compliance",[91,95,100,105,110],{"title":92,"path":93,"stem":94,"icon":69},"The licence and the shop","\u002Fdocs\u002Fcompliance\u002Flicence-and-shop","1.docs\u002F4.compliance\u002F1.licence-and-shop",{"title":96,"path":97,"stem":98,"icon":99},"Reminders","\u002Fdocs\u002Fcompliance\u002Freminders","1.docs\u002F4.compliance\u002F2.reminders","i-lucide-bell",{"title":101,"path":102,"stem":103,"icon":104},"Reports and exports","\u002Fdocs\u002Fcompliance\u002Freports-and-exports","1.docs\u002F4.compliance\u002F3.reports-and-exports","i-lucide-file-spreadsheet",{"title":106,"path":107,"stem":108,"icon":109},"Sales summaries","\u002Fdocs\u002Fcompliance\u002Fsales-summaries","1.docs\u002F4.compliance\u002F4.sales-summaries","i-lucide-chart-column",{"title":111,"path":112,"stem":113,"icon":114},"The audit trail","\u002Fdocs\u002Fcompliance\u002Faudit-trail","1.docs\u002F4.compliance\u002F5.audit-trail","i-lucide-scroll-text",{"title":116,"icon":117,"path":118,"stem":119,"children":120,"page":53},"Administration","i-lucide-settings-2","\u002Fdocs\u002Fadministration","1.docs\u002F5.administration",[121,125,130,135,140],{"title":122,"path":123,"stem":124,"icon":26},"Users and roles","\u002Fdocs\u002Fadministration\u002Fusers-and-roles","1.docs\u002F5.administration\u002F1.users-and-roles",{"title":126,"path":127,"stem":128,"icon":129},"The shop PC","\u002Fdocs\u002Fadministration\u002Fthe-shop-pc","1.docs\u002F5.administration\u002F2.the-shop-pc","i-lucide-monitor",{"title":131,"path":132,"stem":133,"icon":134},"Install as an app","\u002Fdocs\u002Fadministration\u002Finstall-as-an-app","1.docs\u002F5.administration\u002F3.install-as-an-app","i-lucide-smartphone",{"title":136,"path":137,"stem":138,"icon":139},"Mail and text messages","\u002Fdocs\u002Fadministration\u002Fmail-and-sms","1.docs\u002F5.administration\u002F4.mail-and-sms","i-lucide-mail",{"title":141,"path":142,"stem":143,"icon":144},"Backups and updates","\u002Fdocs\u002Fadministration\u002Fbackups-and-updates","1.docs\u002F5.administration\u002F5.backups-and-updates","i-lucide-database-backup",{"title":146,"icon":147,"path":148,"stem":149,"children":150,"page":53},"Regulation","i-lucide-scale","\u002Fdocs\u002Fregulation","1.docs\u002F6.regulation",[151,155],{"title":152,"path":153,"stem":154,"icon":87},"What an OTCMS may sell","\u002Fdocs\u002Fregulation\u002Fwhat-the-shop-may-sell","1.docs\u002F6.regulation\u002F1.what-the-shop-may-sell",{"title":156,"path":157,"stem":158,"icon":114},"The records the law wants","\u002Fdocs\u002Fregulation\u002Fthe-records-the-law-wants","1.docs\u002F6.regulation\u002F2.the-records-the-law-wants",{"id":160,"title":23,"body":161,"description":695,"extension":696,"links":697,"meta":698,"navigation":699,"path":24,"seo":700,"stem":25,"__hash__":701},"docs\u002F1.docs\u002F1.getting-started\u002F4.roles.md",{"type":162,"value":163,"toc":685},"minimark",[164,177,182,270,274,511,515,543,547,564,648,655,666,670],[165,166,167,168,172,173,176],"p",{},"Every person holds one or more ",[169,170,171],"strong",{},"roles",", and a role is a set of ",[169,174,175],{},"permissions",". The server checks the permission on every action, and the screens show only what the signed-in person may do. Nobody is shown a door that is locked.",[178,179,181],"h2",{"id":180},"the-five-roles","The five roles",[183,184,185,201],"table",{},[186,187,188],"thead",{},[189,190,191,195,198],"tr",{},[192,193,194],"th",{},"Role",[192,196,197],{},"Who",[192,199,200],{},"What they do",[202,203,204,218,231,244,257],"tbody",{},[189,205,206,212,215],{},[207,208,209],"td",{},[169,210,211],{},"Owner \u002F Admin",[207,213,214],{},"The licence holder or the person who runs the shop",[207,216,217],{},"Everything, including users and roles.",[189,219,220,225,228],{},[207,221,222],{},[169,223,224],{},"Licensed Practitioner",[207,226,227],{},"The registered OTCMS practitioner on the premises",[207,229,230],{},"Runs the shop's operations: sells, voids, receives, disposes, manages compliance. Cannot manage users.",[189,232,233,238,241],{},[207,234,235],{},[169,236,237],{},"Sales Clerk",[207,239,240],{},"Serves at the counter",[207,242,243],{},"Sells and looks at the shelf. Cannot void a sale.",[189,245,246,251,254],{},[207,247,248],{},[169,249,250],{},"Inventory Clerk",[207,252,253],{},"Receives and counts stock",[207,255,256],{},"Receives deliveries, adjusts and quarantines. Cannot sell or dispose.",[189,258,259,264,267],{},[207,260,261],{},[169,262,263],{},"Auditor",[207,265,266],{},"An inspector, an accountant, the owner's adviser",[207,268,269],{},"Reads everything, exports anything, changes nothing.",[178,271,273],{"id":272},"the-permissions","The permissions",[183,275,276,298],{},[186,277,278],{},[189,279,280,283,287,290,293,296],{},[192,281,282],{},"Permission",[192,284,286],{"align":285},"center","Owner",[192,288,289],{"align":285},"Practitioner",[192,291,292],{"align":285},"Sales clerk",[192,294,295],{"align":285},"Inventory clerk",[192,297,263],{"align":285},[202,299,300,316,331,346,361,376,391,406,421,436,451,466,481,496],{},[189,301,302,305,308,310,312,314],{},[207,303,304],{},"Manage users",[207,306,307],{"align":285},"✓",[207,309],{"align":285},[207,311],{"align":285},[207,313],{"align":285},[207,315],{"align":285},[189,317,318,321,323,325,327,329],{},[207,319,320],{},"Manage roles",[207,322,307],{"align":285},[207,324],{"align":285},[207,326],{"align":285},[207,328],{"align":285},[207,330],{"align":285},[189,332,333,336,338,340,342,344],{},[207,334,335],{},"Manage products",[207,337,307],{"align":285},[207,339,307],{"align":285},[207,341],{"align":285},[207,343],{"align":285},[207,345],{"align":285},[189,347,348,351,353,355,357,359],{},[207,349,350],{},"Receive stock",[207,352,307],{"align":285},[207,354,307],{"align":285},[207,356],{"align":285},[207,358,307],{"align":285},[207,360],{"align":285},[189,362,363,366,368,370,372,374],{},[207,364,365],{},"View stock",[207,367,307],{"align":285},[207,369,307],{"align":285},[207,371,307],{"align":285},[207,373,307],{"align":285},[207,375,307],{"align":285},[189,377,378,381,383,385,387,389],{},[207,379,380],{},"Adjust stock",[207,382,307],{"align":285},[207,384,307],{"align":285},[207,386],{"align":285},[207,388,307],{"align":285},[207,390],{"align":285},[189,392,393,396,398,400,402,404],{},[207,394,395],{},"Quarantine stock",[207,397,307],{"align":285},[207,399,307],{"align":285},[207,401],{"align":285},[207,403,307],{"align":285},[207,405],{"align":285},[189,407,408,411,413,415,417,419],{},[207,409,410],{},"Dispose of stock",[207,412,307],{"align":285},[207,414,307],{"align":285},[207,416],{"align":285},[207,418],{"align":285},[207,420],{"align":285},[189,422,423,426,428,430,432,434],{},[207,424,425],{},"Make a sale",[207,427,307],{"align":285},[207,429,307],{"align":285},[207,431,307],{"align":285},[207,433],{"align":285},[207,435],{"align":285},[189,437,438,441,443,445,447,449],{},[207,439,440],{},"Void a sale",[207,442,307],{"align":285},[207,444,307],{"align":285},[207,446],{"align":285},[207,448],{"align":285},[207,450],{"align":285},[189,452,453,456,458,460,462,464],{},[207,454,455],{},"View reports",[207,457,307],{"align":285},[207,459,307],{"align":285},[207,461],{"align":285},[207,463],{"align":285},[207,465,307],{"align":285},[189,467,468,471,473,475,477,479],{},[207,469,470],{},"Manage compliance",[207,472,307],{"align":285},[207,474,307],{"align":285},[207,476],{"align":285},[207,478],{"align":285},[207,480],{"align":285},[189,482,483,486,488,490,492,494],{},[207,484,485],{},"View the audit trail",[207,487,307],{"align":285},[207,489,307],{"align":285},[207,491],{"align":285},[207,493],{"align":285},[207,495,307],{"align":285},[189,497,498,501,503,505,507,509],{},[207,499,500],{},"Export reports",[207,502,307],{"align":285},[207,504,307],{"align":285},[207,506],{"align":285},[207,508],{"align":285},[207,510,307],{"align":285},[178,512,514],{"id":513},"why-the-lines-are-drawn-there","Why the lines are drawn there",[516,517,518,525,531,537],"ul",{},[519,520,521,524],"li",{},[169,522,523],{},"A sales clerk cannot void."," A void returns stock and erases revenue, which makes it the easiest way to take cash from a till. Voids need a practitioner or the owner, and every void carries a reason.",[519,526,527,530],{},[169,528,529],{},"An inventory clerk cannot sell or dispose."," Receiving and counting are one job. Disposing of medicine is a regulated act that the licence holder answers for, so it stays with the practitioner and the owner.",[519,532,533,536],{},[169,534,535],{},"The auditor changes nothing."," An auditor who can also adjust stock is not an auditor.",[519,538,539,542],{},[169,540,541],{},"Only the owner manages users and roles."," The practitioner runs the shop's operations; the owner runs the shop.",[178,544,546],{"id":545},"what-changes-on-screen","What changes on screen",[165,548,549,550,553,554,553,556,559,560,563],{},"The sidebar has four groups: ",[169,551,552],{},"Sell",", ",[169,555,55],{},[169,557,558],{},"Comply"," and ",[169,561,562],{},"Manage",". A group appears only when the person may open at least one screen in it, and a screen appears only when they may use it.",[183,565,566,581],{},[186,567,568],{},[189,569,570,573,575,577,579],{},[192,571,572],{},"Signed in as",[192,574,552],{},[192,576,55],{},[192,578,558],{},[192,580,562],{},[202,582,583,599,611,624,636],{},[189,584,585,587,590,593,596],{},[207,586,286],{},[207,588,589],{},"Till, Sales by day",[207,591,592],{},"Products, Expiry and quarantine, Purchases",[207,594,595],{},"Compliance, Reports, Audit trail",[207,597,598],{},"Users",[189,600,601,603,605,607,609],{},[207,602,289],{},[207,604,589],{},[207,606,592],{},[207,608,595],{},[207,610],{},[189,612,613,615,617,620,622],{},[207,614,292],{},[207,616,589],{},[207,618,619],{},"Products, Expiry and quarantine",[207,621],{},[207,623],{},[189,625,626,628,630,632,634],{},[207,627,295],{},[207,629],{},[207,631,592],{},[207,633],{},[207,635],{},[189,637,638,640,642,644,646],{},[207,639,263],{},[207,641,44],{},[207,643,592],{},[207,645,595],{},[207,647],{},[165,649,650,651,654],{},"The dashboard follows the same rule. Each of its panels belongs to a permission, so a sales clerk sees today's till and the shelf, and an auditor sees the figures without the ",[169,652,653],{},"Close the day"," button.",[165,656,657,658,661,662,665],{},"Inside a screen, buttons the person may not use are absent rather than greyed out. A sales clerk opening a sale sees the receipt and ",[169,659,660],{},"Print",", not ",[169,663,664],{},"Void",".",[178,667,669],{"id":668},"custom-roles","Custom roles",[165,671,672,673,677,678,681,682,665],{},"The five system roles cannot be deleted, but anyone with ",[674,675,676],"em",{},"manage roles"," can change what they hold or add a role of their own, say a ",[674,679,680],{},"Shop manager"," who does everything the practitioner does plus users. See ",[683,684,122],"a",{"href":123},{"title":686,"searchDepth":687,"depth":688,"links":689},"",1,2,[690,691,692,693,694],{"id":180,"depth":688,"text":181},{"id":272,"depth":688,"text":273},{"id":513,"depth":688,"text":514},{"id":545,"depth":688,"text":546},{"id":668,"depth":688,"text":669},"Five roles, fourteen permissions. What each person can do, why the defaults are drawn where they are, and what changes on screen from one role to the next.","md",null,{},{"icon":26},{"title":23,"description":695},"qZZhRoInS5EYZwXzDM_Eo07jjLfwPlDz42sukCHqRLE",[703,705],{"title":18,"path":19,"stem":20,"description":704,"icon":21,"children":-1},"The dashboard, the sidebar in four groups, the keyboard chords, search, and how to get back to where you were.",{"title":35,"path":36,"stem":37,"description":706,"icon":30,"children":-1},"Scan or pick, set quantities, take cash, mobile money or card, and complete the sale from the keyboard or a touch screen.",1789569921273]