aleph.logic.permissions

aleph.logic.permissions.update_permission(role, collection, read, write)

Update a roles permission to access a given collection.