Skip to content

Commit

Permalink
Fixed definition of parent-guardian usertype
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielBrierton committed Jan 11, 2017
1 parent 95c507a commit c4b0fd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions config/permissions.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = function () {
return {
roles: ['none', 'basic-user', 'cdf-admin'],
userTypes: ['attendee-u13', 'attendee-o13', 'parent', 'mentor'],
userTypes: ['attendee-u13', 'attendee-o13', 'parent-guardian', 'mentor'],
roleHierarchy: {
'cdf-admin': {
'basic-user': {
Expand All @@ -12,7 +12,7 @@ module.exports = function () {
userTypeHierarchy: {
'basic-user': {
'champion': [{
'parent': [
'parent-guardian': [
{'attendee-o13': {}},
{'attendee-u13': {}}
]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cp-permissions-plugin",
"version": "1.0.2",
"version": "1.0.3",
"description": "Handle permissions of users with a configuration-oriented behavior",
"main": "index.js",
"repository": {
Expand Down

0 comments on commit c4b0fd4

Please sign in to comment.