cirandas.net

ref: master

test/fixtures/roles.yml


  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
  id: 1
  environment_id: 1
  name: 'member'
  permissions: 
   - post_content
two:
  id: 2
  environment_id: 1
  name: 'owner'
  permissions:
   - menage_memberships
   - post_content
   - destroy_profile
   - edit_profile
three:
  id: 3
  environment_id: 1
  name: 'moderator'
  permissions:
   - manage_memberships
four:
  id: 4
  environment_id: 1
  name: 'admin'
  permissions: 
   - view_environment_admin_panel
   - edit_environment_features
   - edit_environment_design
   - manage_environment_categories
   - manage_environment_roles
   - manage_environment_trusted_sites
   - manage_environment_validators
   - moderate_comments
   - perform_task
   - manage_environment_users
   - manage_environment_organizations
   - manage_environment_templates
   - manage_environment_licenses
   - manage_email_templates
profile_admin:
  id: 5
  environment_id: 1
  key: 'profile_admin'
  name: 'Profile Administrator'
  system: true
  permissions:
   - invite_members
   - manage_memberships
   - edit_profile_design
   - edit_profile
   - moderate_comments
   - destroy_profile
   - perform_task
   - post_content
   - view_private_content
   - manage_products
   - send_mail_to_members
   - edit_appearance
   - manage_friends
   - validate_enterprise
   - publish_content
   - manage_email_templates
profile_member:
  id: 6
  environment_id: 1
  key: 'profile_member'
  name: 'Profile Member'
  system: true
  permissions:
   - invite_members
profile_moderator:
  id: 7
  environment_id: 1
  key: 'profile_moderator'
  name: 'Profile Moderator'
  system: true
  permissions:
   - moderate_comments
   - view_private_content
   - send_mail_to_members
environment_administrator:
  id: 8
  environment_id: 1
  key: 'environment_administrator'
  name: 'Environment administrator'
  system: true
  permissions:
   - perform_task
   - view_environment_admin_panel
   - edit_environment_features
   - edit_environment_design
   - manage_environment_categories
   - manage_environment_roles
   - manage_environment_trusted_sites
   - manage_environment_validators
   - moderate_comments
   - manage_environment_users
   - manage_environment_organizations
   - edit_profile
   - destroy_profile
   - manage_environment_templates
   - manage_environment_licenses
   - edit_raw_html_block
   - manage_email_templates