File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -125,9 +125,10 @@ const TOPCODER_ALL = [
125125]
126126
127127/**
128- * Project non-customer members
128+ * All Project Roles
129129 */
130- const PROJECT_NON_CUSTOMER_MEMBERS = [
130+ const PROJECT_ALL = [
131+ PROJECT_ROLE_CUSTOMER ,
131132 PROJECT_ROLE_COPILOT ,
132133 PROJECT_ROLE_MANAGER ,
133134 PROJECT_ROLE_ACCOUNT_MANAGER ,
@@ -187,7 +188,7 @@ export default {
187188 description : 'Invite new members or delete them. There are some additional restrictions for some roles.' ,
188189 } ,
189190 projectRoles : [
190- ..._ . difference ( TOPCODER_ALL , [ ROLE_TOPCODER_USER , ROLE_CONNECT_COPILOT ] )
191+ ..._ . difference ( PROJECT_ALL , [ PROJECT_ROLE_COPILOT , PROJECT_ROLE_CUSTOMER ] )
191192 ] ,
192193 topcoderRoles : [
193194 ...TOPCODER_ADMINS
@@ -309,11 +310,9 @@ export default {
309310 group : 'My Projects Filter' ,
310311 title : 'My Projects Filter' ,
311312 } ,
312- allowRule : {
313- topcoderRoles : [
314- ..._ . difference ( TOPCODER_ALL , [ ROLE_CONNECT_COPILOT , ROLE_TOPCODER_USER ] )
315- ]
316- }
313+ topcoderRoles : [
314+ ..._ . difference ( TOPCODER_ALL , [ ROLE_CONNECT_COPILOT , ROLE_TOPCODER_USER ] )
315+ ]
317316 } ,
318317
319318 /*
You can’t perform that action at this time.
0 commit comments