moo.core.models.acl.AccessibleMixin

class moo.core.models.acl.AccessibleMixin

The base class for all Objects, Verbs, and Properties.

__init__()

Methods

__init__()

allow(accessor, permission)

Allow a certain object or group to do something on this object.

caller_can_read()

True when the active caller may read this entity.

can_caller(permission, subject)

Check if the current caller has permission for something.

deny(accessor, permission)

Deny a certain object or group from doing something on this object.

Attributes

pk