Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

The lino_noi package

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, 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(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')

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
anonymous

A site user who is not authenticated.

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.

user

Alias for customer.

contributor

A site user who works on tickets of sites they are team members of.

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.

class lino_noi.lib.noi.user_types.ProvisionStates
purchased