Sha256: f9e1ce3422cedc6a0b50390f5ecba7cc970bbdf9ce5895fc4e4aaab14d39ae6e

Contents?: true

Size: 1.39 KB

Versions: 9

Compression:

Stored size: 1.39 KB

Contents

relations:
  user-friend:
    sender_type: User
    receiver_type: User
    name: friend
    inverse: user-friend
    permissions:
      - [ create,  resources, weak_set ]
      - [ read,    resources, group_set ]
      - [ update,  resources, weak_set ]
      - [ destroy, resources, weak_set ]
  user-fof:
    sender_type: User
    receiver_type: User
    name: friend_of_friend
    parent: user-friend
    inverse: user-fof
    permissions:
      - [ read, resources, group_set ]
  user-public:
    sender_type: User
    receiver_type: User
    name: public
    parent: user-fof
    inverse: user-public
    permissions:
      - [ read, resources, group_set ]

  user-group-admin:
    sender_type: User
    receiver_type: Group
    name: admin
    permissions:
      - [ create,  resources, weak_set ]
      - [ read,    resources, group_set ]
      - [ update,  resources, weak_group_set ]
      - [ destroy, resources, weak_group_set ]
  user-group-user:
    sender_type: User
    receiver_type: Group
    name: user
    parent: user-group-admin
    permissions:
      - [ create,  resources, weak_set ]
      - [ read,    resources, group_set ]
      - [ update,  resources, weak_group_set ]
      - [ destroy, resources, weak_group_set ]
  user-group-follower:
    sender_type: User
    receiver_type: Group
    name: follower
    parent: user-group-user
    permissions:
      - [ read,    resources, group_set ]

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
social_stream-0.1.7 spec/dummy/db/seeds/social_stream.yml
social_stream-0.1.6 spec/dummy/db/seeds/social_stream.yml
social_stream-0.1.5 spec/dummy/db/seeds/social_stream.yml
social_stream-0.1.4 spec/dummy/db/seeds/social_stream.yml
social_stream-0.1.3 spec/dummy/db/seeds/social_stream.yml
social_stream-0.1.2 spec/dummy/db/seeds/social_stream.yml
social_stream-0.1.1 spec/dummy/db/seeds/social_stream.yml
social_stream-0.1.0 spec/dummy/db/seeds/social_stream.yml
social_stream-0.0.5 spec/dummy/db/seeds/social_stream.yml