File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ class Scope {
2828 this . isStaff = isStaff ;
2929 this . isNdaed =
3030 'nda' in ( mozilliansorgGroups || { } ) ||
31+ 'ghe_group_curators' in ( mozilliansorgGroups || { } ) ||
3132 'contingentworkernda' in ( mozilliansorgGroups || { } ) ;
3233 this . isLdap = Boolean ( ldapGroups ) ;
3334 this . isGroupCreator =
Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ export default {
7373 }
7474 if (
7575 ' nda' in (this .accessInformation .mozilliansorg .values || {}) ||
76+ ' ghe_group_curators' in (this .accessInformation .mozilliansorg .values || {}) ||
7677 ' contingentworkernda' in
7778 (this .accessInformation .mozilliansorg .values || {})
7879 ) {
Original file line number Diff line number Diff line change @@ -14,10 +14,16 @@ export default {
1414 ldap : { values : ldapGroups = { } } = { } ,
1515 } = { } ,
1616 } = user || { } ;
17+ /*
18+ The other places these groups are handled.
19+ https://github.com/mozilla-iam/dino-park-packs/pull/20
20+ https://github.com/mozilla-iam/dino-park-gate/pull/3
21+ */
1722 const options = {
1823 isStaff,
1924 isNdaed :
2025 'nda' in ( mozilliansorgGroups || { } ) ||
26+ 'ghe_group_curators' in ( mozilliansorgGroups || { } ) ||
2127 'contingentworkernda' in ( mozilliansorgGroups || { } ) ,
2228 isLdap : Boolean ( ldapGroups ) ,
2329 } ;
You can’t perform that action at this time.
0 commit comments