equal
deleted
inserted
replaced
306 |
306 |
307 class see_also(RelationType): |
307 class see_also(RelationType): |
308 """generic relation to link one entity to another""" |
308 """generic relation to link one entity to another""" |
309 symetric = True |
309 symetric = True |
310 |
310 |
311 class ECache(EntityType): |
311 class ECache(MetaEntityType): |
|
312 """a simple cache entity characterized by a name and |
|
313 a validity date. |
|
314 |
|
315 The target application is responsible for updating timestamp |
|
316 when necessary to invalidate the cache (typically in hooks). |
|
317 |
|
318 Also, checkout the AppRsetObject.get_cache() method. |
|
319 """ |
312 permissions = { |
320 permissions = { |
313 'read': ('managers', 'users', 'guests'), |
321 'read': ('managers', 'users', 'guests'), |
314 'add': ('managers',), |
322 'add': ('managers',), |
315 'update': ('managers', 'users',), |
323 'update': ('managers', 'users',), |
316 'delete': ('managers',), |
324 'delete': ('managers',), |