24 |
24 |
25 from google.appengine.api import memcache |
25 from google.appengine.api import memcache |
26 |
26 |
27 |
27 |
28 RIGHTS = [ |
28 RIGHTS = [ |
29 'checkIsLoggedIn', |
29 'checkAccess', |
30 'checkNotLoggedIn', |
30 'checkCanCreateFromRequest', |
31 'checkIsUser', |
31 'checkCanMakeRequestToGroup', |
|
32 'checkCanProcessRequest', |
|
33 'checkHasPickGetArgs', |
|
34 'checkHasUserEntity', |
|
35 'checkIsActive', |
|
36 'checkIsApplicationAccepted', |
|
37 'checkIsClubAdminForClub', |
32 'checkIsDeveloper', |
38 'checkIsDeveloper', |
33 'checkCanMakeRequestToGroup', |
39 'checkIsDocumentPublic', |
34 'checkCanCreateFromRequest', |
40 'checkIsGroupActive', |
35 'checkCanProcessRequest', |
|
36 'checkIsMyGroupAcceptedRequest', |
|
37 'checkIsHost', |
41 'checkIsHost', |
38 'checkIsHostForSponsor', |
42 'checkIsHostForSponsor', |
39 'checkIsClubAdminForClub', |
43 'checkIsLoggedIn', |
40 'checkIsApplicationAccepted', |
44 'checkIsMyActiveRole', |
|
45 'checkIsMyApplication', |
|
46 'checkIsMyGroupAcceptedRequest', |
41 'checkIsMyNotification', |
47 'checkIsMyNotification', |
42 'checkIsMyApplication', |
48 'checkIsUnusedAccount', |
43 'checkIsMyActiveRole', |
49 'checkIsUser', |
44 'checkHasPickGetArgs', |
50 'checkNotLoggedIn', |
45 'checkIsDocumentPublic', |
|
46 ] |
51 ] |
47 |
52 |
48 |
53 |
49 def flush(id): |
54 def flush(id): |
50 """Flushes all ACL's for the specified account. |
55 """Flushes all ACL's for the specified account. |