| Trees | Indices | Help |
|
|---|
|
|
Links a permission to its object using the contenttypes
framework and to the set of permittees holding the permission.
|
|||
| Meta | |||
| DoesNotExist | |||
| MultipleObjectsReturned | |||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
_base_manager = <expedient.common.permissions.managers.ObjectP
|
|||
_default_manager = <expedient.common.permissions.managers.Obje
|
|||
_meta = <Options for ObjectPermission>
|
|||
permissionownership_set = <django.db.models.fields.related.For
|
|||
permissionrequest_set = <django.db.models.fields.related.Forei
|
|||
projectrole_set = <django.db.models.fields.related.ManyRelated
|
|||
|
Inherited from |
|||
|
|||
| ExpedientPermission |
permission = models.ForeignKey(ExpedientPermission)The ExpedientPermission of which this ObjectPermission is a sort of instance. |
||
ForeignKey to ContentType
|
object_type = models.ForeignKey(ContentType)The ContentType indicating the class of the target.
|
||
positive int
|
object_id = models.PositiveIntegerField()The id of the target. |
||
| varies |
target = GenericForeignKey("object_type", "object_id")the object for this target. |
||
ManyToManyField to Permittee through PermissionOwnership
|
permittees = models.ManyToManyField("Permittee", through= "Permany-to-many relationship to permittees who own the object permission |
||
|
|||
|
Inherited from Inherited from |
|||
|
|||
Give permission ownership to an object. This method also checks that
the action is allowed (the
|
|
|||
_base_manager
|
_default_manager
|
permissionownership_set
|
permissionrequest_set
|
projectrole_set
|
|
|||
permitteesmany-to-many relationship to permittees who own the object permission
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Fri Feb 18 13:10:01 2011 | http://epydoc.sourceforge.net |