Changes between Version 36 and Version 37 of ModelInheritance
- Timestamp:
- Jun 9, 2006, 10:07:43 AM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ModelInheritance
v36 v37 315 315 316 316 3. row-level-security. I would like to be able to specifify a the permissions of an item in either a tagging-like fashion or as a function of the values in that item. For instance, if an item has a field "approver", and the value is set to "John", then I want John to have read/write permissions on that item. As soon as the approver field is no longer set to "John", John would lose his privilege unless it was granted by something else in the item or some default. 317 318 319 == Other Resources == 320 321 '''SQLAlchemy''' I assume you guys are aware of it and have perhaps already looked into it, but if not (isn't mentioned here, I didn't follow all previous threads on the list) you might want to look at how SQLAlchemy handles this -- fundamentally a bit different of course as SA is not ActiveRecord-ish (without using one of its "extensions") but perhaps still useful. Maybe start here: http://sqlalchemy.org/docs/adv_datamapping.myt#advdatamapping_inheritance ''-ToddG''