Skip to content

Commit

Permalink
Merge pull request #64 from interdruper/51-add-editor-as-a-new-role
Browse files Browse the repository at this point in the history
Fixed #51. Added editor role for articles, groups and videos.
  • Loading branch information
interdruper authored Jul 16, 2017
2 parents 4ab2dcb + 098e34a commit f87d7e8
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion sites/default/conf/user.role.administrator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ _core:
default_config_hash: Om6FEO7vZZMkPIbVvfxtdkWerQ2PvQM4sWUd6Q3ZnfI
id: administrator
label: Administrator
weight: 2
weight: -8
is_admin: true
permissions: { }
2 changes: 1 addition & 1 deletion sites/default/conf/user.role.anonymous.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ _core:
default_config_hash: j5zLMOdJBqC0bMvSdth5UebkprJB8g_2FXHqhfpJzow
id: anonymous
label: 'usuario anónimo'
weight: 0
weight: -10
is_admin: false
permissions:
- 'access checkout'
Expand Down
5 changes: 4 additions & 1 deletion sites/default/conf/user.role.authenticated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ _core:
default_config_hash: dJ0L2DNSj5q6XVZAGsuVDpJTh5UeYkIPwKrUOOpr8YI
id: authenticated
label: 'usuario autenticado'
weight: 1
weight: -9
is_admin: false
permissions:
- 'access checkout'
- 'access comments'
- 'access content'
- 'access user profiles'
- 'edit own comments'
- 'edit own groups content'
- 'edit own partner content'
- 'flag video_visualizado'
- 'post comments'
- 'skip comment approval'
Expand Down
3 changes: 2 additions & 1 deletion sites/default/conf/user.role.socio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ status: true
dependencies: { }
id: socio
label: Socio
weight: 7
weight: -6
is_admin: null
permissions:
- 'change own username'
- 'create field_pagina_web'
- 'edit own field_pagina_web'
- 'edit own socio profile'
Expand Down
2 changes: 1 addition & 1 deletion sites/default/conf/user.role.socio_2013.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ status: true
dependencies: { }
id: socio_2013
label: 'Socio 2013'
weight: 8
weight: -5
is_admin: null
permissions:
- 'change own username'
2 changes: 1 addition & 1 deletion sites/default/conf/user.role.socio_2014.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ status: true
dependencies: { }
id: socio_2014
label: 'Socio 2014'
weight: 9
weight: -4
is_admin: null
permissions: { }
2 changes: 1 addition & 1 deletion sites/default/conf/user.role.socio_2015.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ status: true
dependencies: { }
id: socio_2015
label: 'Socio 2015'
weight: 10
weight: -3
is_admin: null
permissions: { }
2 changes: 1 addition & 1 deletion sites/default/conf/user.role.socio_2016.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ status: true
dependencies: { }
id: socio_2016
label: 'Socio 2016'
weight: 12
weight: -2
is_admin: null
permissions: { }
2 changes: 1 addition & 1 deletion sites/default/conf/user.role.socio_2017.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ status: true
dependencies: { }
id: socio_2017
label: 'Socio 2017'
weight: 13
weight: -1
is_admin: null
permissions: { }
2 changes: 1 addition & 1 deletion sites/default/conf/user.role.socio_2018.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ status: true
dependencies: { }
id: socio_2018
label: 'Socio 2018'
weight: 14
weight: 0
is_admin: null
permissions: { }
2 changes: 1 addition & 1 deletion sites/default/conf/user.role.socio_2019.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ status: true
dependencies: { }
id: socio_2019
label: 'Socio 2019'
weight: 15
weight: 1
is_admin: null
permissions: { }
2 changes: 1 addition & 1 deletion sites/default/conf/user.role.socio_2020.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ status: true
dependencies: { }
id: socio_2020
label: 'Socio 2020'
weight: 16
weight: 2
is_admin: null
permissions: { }

0 comments on commit f87d7e8

Please sign in to comment.