Skip to content

Commit aacdb95

Browse files
author
Maksym Mykhailenko
committed
fix: copilot permission
Shouldn't manage Topcoder Team
1 parent d8a6968 commit aacdb95

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/config/permissions.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export default {
187187
description: 'Invite new members or delete them. There are some additional restrictions for some roles.',
188188
},
189189
projectRoles: [
190-
...PROJECT_NON_CUSTOMER_MEMBERS
190+
..._.difference(TOPCODER_ALL, [ROLE_TOPCODER_USER, ROLE_CONNECT_COPILOT])
191191
],
192192
topcoderRoles: [
193193
...TOPCODER_ADMINS
@@ -301,9 +301,9 @@ export default {
301301
ROLE_CONNECT_MANAGER,
302302
ROLE_CONNECT_ACCOUNT_MANAGER,
303303
ROLE_CONNECT_COPILOT_MANAGER
304-
],
304+
],
305305
},
306-
306+
307307
SEE_MY_PROJECTS_FILTER: {
308308
_meta: {
309309
group: 'My Projects Filter',

0 commit comments

Comments
 (0)