Permalink
Browse files

http://luc.lino-framework.org/blog/2016/0831.html

  • Loading branch information...
lsaffre committed Aug 31, 2016
1 parent a4a15aa commit 79b6c58e77e8188fb6802e6a4887c8ff59e439f0
Showing with 4 additions and 3 deletions.
  1. +4 −3 lino_presto/lib/presto/roles.py
@@ -25,18 +25,19 @@
from lino.api import _
from lino.modlib.users.choicelists import UserProfiles
from lino.core.roles import UserRole, SiteAdmin
from lino_xl.lib.contacts.roles import ContactsUser
from lino.modlib.office.roles import OfficeStaff, OfficeUser
from lino_cosi.lib.ledger.roles import LedgerUser, LedgerStaff
from lino_cosi.lib.sepa.roles import SepaUser, SepaStaff
from lino_noi.lib.tickets.roles import Triager
from lino_noi.lib.clocking.roles import Worker
class Secretary(OfficeUser, LedgerUser, SepaUser):
class Secretary(ContactsUser, OfficeUser, LedgerUser, SepaUser):
pass
class Worker(Secretary, Worker):
class Consultant(ContactsUser, OfficeUser, LedgerUser, SepaUser, Worker):
pass
@@ -50,6 +51,6 @@ class SiteAdmin(SiteAdmin, OfficeStaff, LedgerStaff, SepaStaff,
add('000', _("Anonymous"), UserRole, name='anonymous', readonly=True)
add('100', _("Secretary"), Secretary)
add('200', _("Worker"), Worker)
add('200', _("Consultant"), Consultant)
add('900', _("Administrator"), SiteAdmin, name='admin')

0 comments on commit 79b6c58

Please sign in to comment.