Workout With Friends Stay fit with a little motivation

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Properties
resources.py
Go to the documentation of this file.
1 ##
2 #
3 # Custom pyramid resources.
4 #
5
6 from pyramid.security import Allow, Authenticated, Deny, Everyone
7
8
9 class RootFactory(object):
10
11 __acl__ = [(Allow, Authenticated, 'member'),
12 (Deny, Authenticated, 'guest'),
13 (Allow, Everyone, 'guest')]
14
15 def __init__(self, request):
16 pass
17