User roles in Lino Shop

>>> import lino
>>> lino.startup('lino_shop.projects.shop1.settings')
>>> from lino.api.doctest import *

Show the list of users:

>>> rt.show(rt.models.users.AllUsers)
... 
========== ===================== ============ ===========
 Username   User type             First name   Last name
---------- --------------------- ------------ -----------
 joe        100 (Customer)        Joe          Doe
 john       200 (Vendor)          John         Doe
 robin      900 (Administrator)   Robin        Rood
 rolf       900 (Administrator)   Rolf         Rompen
 romain     900 (Administrator)   Romain       Raffault
========== ===================== ============ ===========

Site administrator

Rolf is a site administrator, he has a complete menu.

>>> show_menu('robin')
... 
- Contacts : Persons, Organizations
- Office : My Excerpts, My Upload files
- Sales : My Addresses, Shopping cart, Sales invoices (SLS), Sales credit notes (SLC)
- Accounting :
  - Purchases : Purchase invoices (PRC)
  - Wages : Paychecks (SAL)
  - Financial : Bestbank Payment Orders (PMO), Cash book (CSH), Bestbank (BNK)
  - VAT : VAT declarations (VAT)
  - Miscellaneous transactions : Miscellaneous transactions (MSC), Preliminary transactions (PRE)
- Reports :
  - Sales : Due invoices, Sales invoice journal
  - Accounting : Accounting Report, Debtors, Creditors
  - VAT : Purchase journal, Intra-Community purchases, Intra-Community sales
- Configure :
  - System : Users, Site Parameters, Help Texts
  - Places : Countries, Places
  - Contacts : Organization types, Functions
  - Office : Excerpt Types, Library volumes, Upload types
  - Sales : Furniture, Books, Things, Services, Product Categories, Price rules, Authors, Paper types, Delivery methods
  - Accounting : Sheet items, Accounts, Journals, Fiscal years, Accounting periods, Payment terms, Payment methods
- Explorer :
  - System : Authorities, User types, User roles, content types, Data checkers, Data problems
  - Contacts : Contact persons, Partners
  - Office : Excerpts, Upload files, Upload areas
  - SEPA : Bank accounts
  - Sales : Price factors, Sales invoices, Sales invoice items, Shopping carts, Addresses
  - Financial : Bank Statements, Journal Entries, Payment Orders
  - Accounting : Accounting Reports, Common sheet items, General account balances, Analytic accounts balances, Partner balances, Sheet item entries, Common accounts, Match rules, Vouchers, Voucher types, Movements, Trade types, Journal groups
  - VAT : Belgian VAT declarations, Declaration fields, VAT areas, VAT regimes, VAT classes, VAT columns, Invoices, VAT rules
- Site : About, User sessions