Changeset 4653


Ignore:
Timestamp:
4 Jan 2010, 21:37:08 (15 years ago)
Author:
uli
Message:

Add waeup.Public permission.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/permissions.py

    r4124 r4653  
    11import grok
    22from zc.sourcefactory.basic import BasicSourceFactory
     3
     4class Public(grok.Permission):
     5    """Everyone-can-do-this-permission.
     6
     7    This permission is meant to be applied to objects/views/pages
     8    etc., that should be usable/readable by everyone.
     9
     10    We need this to be able to tune default permissions more
     11    restrictive and open up some dedicated objects like the front
     12    page.
     13    """
     14    grok.name('waeup.Public')
    315
    416class ManageUniversity(grok.Permission):
Note: See TracChangeset for help on using the changeset viewer.