Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (19 sloc) 413 Bytes


Controls access to resources.

Implements a simple authorization model where each resource has an owner (who can view and edit) and viewers (who can only view the resource but not edit).


  • add-remove-viewer
  • add-viewer
  • can-edit
  • can-view
  • create-resource
  • delete-resource
  • remove-viewer
  • show-owner
  • show-resource
  • show-resource-count
  • show-resources
  • verify-can-edit
You can’t perform that action at this time.