File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,9 @@ class Scope {
2626 this . isLoggedIn && ( username === '' || username . startsWith ( 'r--' ) ) ;
2727 this . isReady = Boolean ( username ) ;
2828 this . isStaff = isStaff ;
29- this . isNdaed = 'nda' in ( mozilliansorgGroups || { } ) ;
29+ this . isNdaed =
30+ 'nda' in ( mozilliansorgGroups || { } ) ||
31+ 'contingentworkernda' in ( mozilliansorgGroups || { } ) ;
3032 this . isLdap = Boolean ( ldapGroups ) ;
3133 this . isGroupCreator =
3234 'group_creators' in ( mozilliansorgGroups || { } ) ||
Original file line number Diff line number Diff line change @@ -71,7 +71,11 @@ export default {
7171 if (this .staffInformation .staff .value ) {
7272 return ' staff' ;
7373 }
74- if (' nda' in (this .accessInformation .mozilliansorg .values || {})) {
74+ if (
75+ ' nda' in (this .accessInformation .mozilliansorg .values || {}) ||
76+ ' contingentworkernda' in
77+ (this .accessInformation .mozilliansorg .values || {})
78+ ) {
7579 return ' confidential' ;
7680 }
7781 return ' public' ;
Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ export default {
1616 } = user || { } ;
1717 const options = {
1818 isStaff,
19- isNdaed : 'nda' in ( mozilliansorgGroups || { } ) ,
19+ isNdaed :
20+ 'nda' in ( mozilliansorgGroups || { } ) ||
21+ 'contingentworkernda' in ( mozilliansorgGroups || { } ) ,
2022 isLdap : Boolean ( ldapGroups ) ,
2123 } ;
2224 commit ( 'set' , options ) ;
You can’t perform that action at this time.
0 commit comments