Sha256: 7249d2d89d0ceaff0d716088e584e68783888bebaeb89fd58edc58fadc32ac82
Contents?: true
Size: 1.65 KB
Versions: 2
Compression:
Stored size: 1.65 KB
Contents
# Default relations for Social Stream # # Define the default relations and permissions supported by your application # Though subjects can customize their own relations, these are the defaults # to start up # # Detailed information on permissions is available at: # http://rdoc.info/gems/social_stream/Permission # user: friend: name: friend permissions: - [ follow ] # follow the activities of the friend - [ create, activity ] # let the friend create activities - [ read, activity, star_ties ] # friend can read activities from the other friends - [ update, activity ] # update her activities - [ destroy, activity ] # destroy her activities sphere: personal acquaintance: name: acquaintance parent: friend # friend relation is stronger than acquaintance permissions: - [ read, activity, star_ties ] sphere: personal group: member: name: member permissions: - [ represent ] # let the member act as the group - [ create, activity, weak_ties ] # let them member create activities at the level of member, partner and public - [ read, activity, star_ties ] # read activities from other members - [ update, activity, weak_star_ties ] # update and destroy activities to members, - [ destroy, activity, weak_star_ties ] # acquaintance and public - [ read, tie, weak_star_ties ] sphere: organization partner: name: partner parent: member # member is stronger than partner permissions: - [ read, activity, star_ties ] sphere: organization
Version data entries
2 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
social_stream-0.4.4 | lib/generators/social_stream/templates/relations.yml |
social_stream-0.4.4 | spec/dummy/config/relations.yml |