Sha256: d5763fc9c1042356da13c50e6693a4e203212f7a6d088d18f9ee73186266f3a7

Contents?: true

Size: 1009 Bytes

Versions: 8

Compression:

Stored size: 1009 Bytes

Contents

# Relations for Social Stream
#
# Define the relations and permissions supported by your application
#
user:
  friend:
    name: friend
    permissions:
      - [ follow ]
      - [ 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

8 entries across 4 versions & 1 rubygems

Version Path
social_stream-0.3.5 lib/generators/social_stream/templates/relations.yml
social_stream-0.3.5 spec/dummy/config/relations.yml
social_stream-0.3.4 lib/generators/social_stream/templates/relations.yml
social_stream-0.3.4 spec/dummy/config/relations.yml
social_stream-0.3.3 lib/generators/social_stream/templates/relations.yml
social_stream-0.3.3 spec/dummy/config/relations.yml
social_stream-0.3.2 lib/generators/social_stream/templates/relations.yml
social_stream-0.3.2 spec/dummy/config/relations.yml