Permalink
Browse files

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

  • Loading branch information...
lsaffre committed Aug 31, 2016
1 parent 7eccb98 commit d95c0499fa98b5c355fe020f54744b20b6e2bba8
Showing with 4 additions and 4 deletions.
  1. +0 −1 MANIFEST.in
  2. +2 −1 lino/modlib/office/roles.py
  3. +2 −2 lino/utils/diag.py
View
@@ -6,7 +6,6 @@ global-include *.txt *.rst *.js *.css *.html \
*.xsd \
*.mo
include bash/*
prune docs
prune rtlib
prune lino/sandbox
prune screenshots
@@ -10,7 +10,8 @@
# from lino.modlib.users.roles import AuthorshipTaker
class OfficeUser(ContactsUser):
# class OfficeUser(ContactsUser):
class OfficeUser(SiteUser):
"""A user who has access to office functionality like calendar, notes
and uploads.
View
@@ -250,8 +250,8 @@ def visible_for(ba):
if len(visible) == 0:
return "nobody"
# if len(hidden) < len(visible):
if len(hidden) <= 3:
return "all except %s" % ', '.join(hidden)
# if len(hidden) <= 3:
# return "all except %s" % ', '.join(hidden)
return ' '.join(visible)

0 comments on commit d95c049

Please sign in to comment.