1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Class: EntityAccessManager

The EntityAccessManager is the base class for building access manager objects for entities. Each entity is expected to implement an EntityAccessManager unless the default behavior is sufficient. For efficient WebDAV access it is important that the entity have an EntityAccessManager that implements the List method.

Methods

materialize_rights(**params)
default_rights()
implied_rights(objects) This is the method most bundles will override in custom EntityAccessManager objects. This method is called by materialize_rights to establish any rights to the context acquired by the state of the entity itself; prior to ACL processing.
List(ctx, properties) static
asserted_rights(object_rights) Bundles should not override this method as it deals with applying positive ACL entries to objects; this behavior should be common to all entities.
revoked_rights(object_rights) Bundles should not override this method as it deals with applying negative ACL entries to objects; this behavior should be common to all entities.
get_acls(action, entity) Bundles must not override this method

AppointmentAccessManager?

Provided by the contact Logic bundle, AppointmentAccessManager? implements the access for Appointment? entities.

CompanyAccessManager?

The CompanyAccessManager? is the parent of the ContactAccessManager? and the EnterpriseAccessManager?; it implements common behavior shared by both Contact? and Enterprise? objects. Both these types of entities have the concept of ownership as well as public and private.

ContactAccessManager?

Provided by the contact Logic bundle, ContactAccessManager? implements the access for Contact? entities. Both ContactAccessManager? and EnterpriseAccessManager? descend from the intermediary CompanyAccessManager?.

EnterpriseAccessManager?

Provided by the enterprise Logic bundle, EnterpriseAccessManager? implements the access for Enterprise? entities. Both ContactAccessManager? and EnterpriseAccessManager? descend from the intermediary CompanyAccessManager?.

MessageAccessManager?

Provided by the contact Logic bundle, MessageAccessManager? implements the access for Message? entities.

ProcessAccessManager?

Provided by the contact Logic bundle, ProcessAccessManager? implements the access for Process? entities.

ProjectAccessManager?

Provided by the contact Logic bundle, ProjectAccessManager? implements the access for Project? entities.

RouteAccessManager?

Provided by the contact Logic bundle, RouteAccessManager? implements the access for Route? entities.

TeamAccessManager?

Provided by the contact Logic bundle, TeamAccessManager? implements the access for Team? entities.

References

The Core Module

Index