Changes between Version 48 and Version 49 of BluePrintAuthorization
- Timestamp:
- 06/19/10 18:34:00 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BluePrintAuthorization
v48 v49 49 49 * Need a new method: open by default & restricted manually 50 50 * Option1: Use an {{{auth_permission}}} table similar to Web2Py 'full' but just for tables & with {{{group_id}}} as {{{multiple=True}}} 51 * Option2: Set within {{{000_config.py}}}, along with module permissions ?(see above example)51 * Option2: Set within {{{000_config.py}}}, along with module permissions (see above example) 52 52 * Means less DAL calls 53 * Option3: Have an onvalidation which auto-populates the {{{reader_id}}}/{{{writer_id}}} fields in records ?53 * Option3: Have an onvalidation which auto-populates the {{{reader_id}}}/{{{writer_id}}} fields in records 54 54 * Means that no additional auth check at table-level needed 55 55 * If done at validation time then it means that no extra DAL calls are done when creating resources (just extra field(s) within the 1 DAL call)