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 'checkAccess', |
|
30 'checkCanCreateFromRequest', |
29 'checkCanCreateFromRequest', |
|
30 'checkCanEditTimeline', |
31 'checkCanMakeRequestToGroup', |
31 'checkCanMakeRequestToGroup', |
32 'checkCanProcessRequest', |
32 'checkCanProcessRequest', |
33 'checkHasPickGetArgs', |
33 'checkHasPickGetArgs', |
|
34 'checkHasRole', |
34 'checkHasUserEntity', |
35 'checkHasUserEntity', |
35 'checkHasHostEntity', |
|
36 'checkIsActive', |
36 'checkIsActive', |
|
37 'checkIsAllowedToManageRole', |
37 'checkIsApplicationAccepted', |
38 'checkIsApplicationAccepted', |
38 'checkIsClubAdminForClub', |
|
39 'checkIsDeveloper', |
39 'checkIsDeveloper', |
40 'checkIsDocumentReadable', |
40 'checkIsDocumentReadable', |
41 'checkIsDocumentWritable', |
41 'checkIsDocumentWritable', |
42 'checkIsGroupActive', |
42 'checkIsHostForProgram', |
43 'checkIsHost', |
|
44 'checkIsHostForSponsor', |
|
45 'checkIsLoggedIn', |
43 'checkIsLoggedIn', |
46 'checkIsMyActiveRole', |
44 'checkIsMyEntity', |
47 'checkIsMyApplication', |
|
48 'checkIsMyGroupAcceptedRequest', |
45 'checkIsMyGroupAcceptedRequest', |
49 'checkIsMyNotification', |
|
50 'checkIsProgramActive', |
|
51 'checkIsUnusedAccount', |
46 'checkIsUnusedAccount', |
52 'checkIsUser', |
47 'checkIsUser', |
53 'checkIsUserSelf' |
48 'checkIsUserSelf', |
54 'checkNotLoggedIn', |
49 'checkNotLoggedIn', |
55 ] |
50 ] |
56 |
51 |
57 |
52 |
58 def flush(id): |
53 def flush(id): |