Sha256: 57cfaebc3655b14aa17922b1a216ee0ad5e42607e1a8f6df7685a748af738f83

Contents?: true

Size: 842 Bytes

Versions: 22

Compression:

Stored size: 842 Bytes

Contents

Permissions can be defined in a permissions store. A permission store
should store the following sets:

* roles
* role groups
* licenses
* users

A typical permission store is a simple Yaml file, using the following structure:

```yaml
roles:
  admin:
    can:
      manage:
      - all
  user:
    can:
      read:
      - ^articles
      - Post
      write:
      - Comment
    cannot:
      write:
      - Article
role_groups:
  bloggers:
    can:
      read:
      - Article
      - Comment
    cannot:
      write:
      - Article
      - Post
  editors:
    can:
      read:
      - Article
      - Comment
    cannot:
      write:
      - Article
      - Post
licenses:
  editors:
    can:
      manage:
      - all
users:
  stan@theman.com:
    can:
      manage:
      - all
  kris@thewiz.dk:
    cannot:
      read:
        - Book

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
cantango-0.9.4.7 wiki/engines/permissions/config.markdown
cantango-0.9.4.6 wiki/engines/permissions/config.markdown
cantango-0.9.4.5 wiki/engines/permissions/config.markdown
cantango-0.9.4.3 wiki/engines/permissions/config.markdown
cantango-0.9.4.2 wiki/engines/permissions/config.markdown
cantango-0.9.4.1 wiki/engines/permissions/config.markdown
cantango-0.9.4 wiki/engines/permissions/config.markdown
cantango-0.9.3.2 wiki/engines/permissions/config.markdown
cantango-0.8.9.5 wiki/engines/permissions/config.markdown
cantango-0.8.9.4 wiki/engines/permissions/config.markdown
cantango-0.8.9.3 wiki/engines/permissions/config.markdown
cantango-0.8.9.2 wiki/engines/permissions/config.markdown
cantango-0.8.9.1 wiki/engines/permissions/config.markdown
cantango-0.8.9 wiki/engines/permissions/config.markdown
cantango-0.8.8.1 wiki/engines/permissions/config.markdown
cantango-0.8.8 wiki/engines/permissions/config.markdown
cantango-0.8.7 wiki/engines/permissions/config.markdown
cantango-0.8.6.2 wiki/engines/permissions/config.markdown
cantango-0.8.6.1 wiki/engines/permissions/config.markdown
cantango-0.8.6 wiki/engines/permissions/config.markdown