Sha256: 216c1dd6d2176fcdce38111e49c09d055d8cfa24a140d20b55bc5d18d01677d5

Contents?: true

Size: 990 Bytes

Versions: 4

Compression:

Stored size: 990 Bytes

Contents

# Relations for Social Stream
#
# Define the relations and permissions supported by your application
#
user:
  friend:
    name: friend
    permissions:
      - [ create,  activity, weak_set ]
      - [ read,    activity, star_set ]
      - [ update,  activity, weak_set ]
      - [ destroy, activity, weak_set ]
  acquaintance:
    name: acquaintance
    parent: friend
    permissions:
      - [ read,    activity, star_set ]
  public:
    name: public
    parent: acquaintance
    permissions:
      - [ read,    activity, star_set ]

group:
  member:
    name: member
    permissions:
      - [ represent ]
      - [ create,  activity, weak_set ]
      - [ read,    activity, star_set ]
      - [ update,  activity, weak_star_set ]
      - [ destroy, activity, weak_star_set ]
  partner:
    name: partner
    parent: member
    permissions:
      - [ read,    activity, star_set ]
  public:
    name: public
    parent: partner
    permissions:
      - [ read,    activity, star_set ]

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
social_stream-0.3.1 lib/generators/social_stream/templates/relations.yml
social_stream-0.3.1 spec/dummy/config/relations.yml
social_stream-0.3.0 lib/generators/social_stream/templates/relations.yml
social_stream-0.3.0 spec/dummy/config/relations.yml