Using Aristotle permissions in custom code¶
One of the key features in Aristotle is specific access control to items based on a rich matrix of user groups. To make creating extension easier these are exposed through the code in a number of easy to use ways.
Can the user change the status of the item?
Can the user edit the item?
Can the user view the item?
All correctly derived
concept items should have their default manager set to
aristotle.models.ConceptManager. For more information on how this works
see the full documentation on the
ConceptManager and ConceptQuerySet.
ConceptManageris the default object manager for
_conceptitems, and extends from the django-model-utils
It provides access to the
ConceptQuerySetto allow for easy permissions-based filtering of ISO 11179 Concept-based items.