|
|
|
@ -1,5 +1,6 @@
@@ -1,5 +1,6 @@
|
|
|
|
|
''' Resources for account registraion and settings ''' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from pyramid.security import Allow, Authenticated, Everyone, Deny, DENY_ALL |
|
|
|
|
|
|
|
|
|
from ordr2.resources.base import BaseResource |
|
|
|
@ -31,5 +32,5 @@ class AccountResource(BaseResource):
@@ -31,5 +32,5 @@ class AccountResource(BaseResource):
|
|
|
|
|
(Deny, Authenticated, 'register'), |
|
|
|
|
(Allow, Everyone, 'register'), |
|
|
|
|
(Allow, Authenticated, 'settings'), |
|
|
|
|
DENY_ALL |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|