Skip to content

Commit 7378cf9

Browse files
committed
Allowed Connect Account Manager to be able to search projects.
1 parent da9135e commit 7378cf9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/TopBar/TopBarContainer.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
ROLE_CONNECT_MANAGER,
1111
ROLE_ADMINISTRATOR,
1212
ROLE_CONNECT_ADMIN,
13+
ROLE_CONNECT_ACCOUNT_MANAGER,
1314
DOMAIN
1415
} from '../../config/constants'
1516
import ConnectLogoMono from '../../assets/icons/connect-logo-mono.svg'
@@ -168,7 +169,7 @@ class TopBarContainer extends React.Component {
168169

169170
const mapStateToProps = ({ loadUser }) => {
170171
let isPowerUser = false
171-
const roles = [ROLE_CONNECT_COPILOT, ROLE_CONNECT_MANAGER, ROLE_ADMINISTRATOR, ROLE_CONNECT_ADMIN]
172+
const roles = [ROLE_CONNECT_COPILOT, ROLE_CONNECT_MANAGER, ROLE_CONNECT_ACCOUNT_MANAGER, ROLE_ADMINISTRATOR, ROLE_CONNECT_ADMIN]
172173
if (loadUser.user) {
173174
isPowerUser = loadUser.user.roles.some((role) => roles.indexOf(role) !== -1)
174175
}

0 commit comments

Comments
 (0)