Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More
The lino_noi
package¶
This page contains code snippets (lines starting with >>>
), which are
being tested during our development workflow. The following
snippet initializes the demo project used throughout this page.
>>> from lino_book.projects.noi1e.startup import *
- class lino_noi.lib.noi.settings.Site¶
- with_accounting¶
Whether this site has accounting functionality installed.
Accounting in Lino Noi means the following plugins:
products
,trading
,periods
,accounting
,storage
,invoicing
,vat
.
- with_cms¶
Whether this site has content management functionality installed.
Content management in Lino Noi means the following plugins:
publisher
,blogs
,albums
,sources
,
- get_plugin_configs()¶
>>> from lino_noi.lib.noi.settings import Site >>> SITE = Site(globals()) >>> for s in SITE.get_plugin_configs(): ... print(repr(s)) [] ('linod', 'use_channels', True) ('topics', 'partner_model', 'users.User') ('help', 'make_help_pages', True) ('tickets', 'end_user_model', 'contacts.Person') ('working', 'ticket_model', 'tickets.Ticket') ('invoicing', 'order_model', 'subscriptions.Subscription') ('users', 'allow_online_registration', True) ('summaries', 'duration_max_length', 10) ('nicknames', 'named_model', 'tickets.Ticket') ('peppol', 'with_suppliers', True)
Defines a set of user roles and fills
lino.modlib.users.choicelists.UserTypes
.
Used as the user_types_module
for Lino Noi.
- class lino_noi.lib.noi.user_types.UserTypes¶
-
- customer¶
A site user who uses our software and may report tickets, but won’t work on them. Able to comment and view tickets on sites they are member of. Unable to see any contact data of other users or partners.
- developer¶
A site user is a trusted user who has signed an NDA. Has access to client contacts. Is able to make service reports as well as manage tickets.
- admin¶
Can do everything.