aleph.model.permission

Permission

class aleph.model.permission.Permission

Imports

  • <UNKNOWN>
  • <UNKNOWN>
  • <UNKNOWN>

Summary

A set of rights granted to a role on a resource.

grant_collection(cls, collection_id, role, read, write)
grant_foreign(cls, collection, foreign_id, read, write)
by_collection_role(cls, collection_id, role)
to_dict(self)