This repository was archived by the owner on Dec 14, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ module.exports = function(){
13
13
} ]
14
14
} ,
15
15
{ role : 'basic-user' ,
16
- userType : 'parent' ,
16
+ userType : 'parent-guardian ' ,
17
17
customValidator : [ {
18
18
role : 'cd-users' ,
19
19
cmd : 'is_parent_of' ,
@@ -34,7 +34,7 @@ module.exports = function(){
34
34
} ]
35
35
} ,
36
36
{ role : 'basic-user' ,
37
- userType : 'parent' ,
37
+ userType : 'parent-guardian ' ,
38
38
customValidator : [ {
39
39
role : 'cd-users' ,
40
40
cmd : 'is_parent_of'
@@ -63,6 +63,12 @@ module.exports = function(){
63
63
{ role : 'cd-users' ,
64
64
cmd : 'is_self'
65
65
} ]
66
+ } , {
67
+ role : 'basic-user' ,
68
+ customValidator : [
69
+ { role : 'cd-users' ,
70
+ cmd : 'is_parent_of'
71
+ } ]
66
72
} , {
67
73
role : 'basic-user' ,
68
74
userType : 'champion' ,
@@ -78,6 +84,12 @@ module.exports = function(){
78
84
{ role : 'cd-users' ,
79
85
cmd : 'is_self'
80
86
} ]
87
+ } , {
88
+ role : 'basic-user' ,
89
+ customValidator : [
90
+ { role : 'cd-users' ,
91
+ cmd : 'is_parent_of'
92
+ } ]
81
93
} , {
82
94
role : 'basic-user' ,
83
95
userType : 'champion' ,
Original file line number Diff line number Diff line change 27
27
"async" : " 0.9.0" ,
28
28
"cp-i18n-lib" : " git+https://github.com/CoderDojo/cp-i18n-lib.git" ,
29
29
"cp-logs-lib" : " git://github.com/CoderDojo/cp-logs-lib#1.1.0" ,
30
- "cp-permissions-plugin" : " git://github.com/CoderDojo/cp-permissions-plugin#1.0.2 " ,
30
+ "cp-permissions-plugin" : " git://github.com/CoderDojo/cp-permissions-plugin#1.0.3 " ,
31
31
"cuid" : " 1.2.5" ,
32
32
"ejs" : " 1.0.0" ,
33
33
"jed" : " 1.1.0" ,
You can’t perform that action at this time.
0 commit comments