Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
MM-10032: Fix permission used to show IsTrusted field in Oauth 2 inte…
Browse files Browse the repository at this point in the history
…grations form (#1044)
  • Loading branch information
jespino authored and saturninoabril committed Apr 3, 2018
1 parent c8884ef commit d769174
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/integrations/abstract_oauth_app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export default class AbstractOAuthApp extends React.PureComponent {
}

const trusted = (
<SystemPermissionGate permissions={[Permissions.MANAGE_OAUTH]}>
<SystemPermissionGate permissions={[Permissions.MANAGE_SYSTEM]}>
<div className='form-group'>
<label
className='control-label col-sm-4'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ exports[`components/integrations/AbstractOAuthApp should match snapshot 1`] = `
<Connect(SystemPermissionGate)
permissions={
Array [
"manage_oauth",
"manage_system",
]
}
>
Expand Down Expand Up @@ -357,7 +357,7 @@ exports[`components/integrations/AbstractOAuthApp should match snapshot, display
<Connect(SystemPermissionGate)
permissions={
Array [
"manage_oauth",
"manage_system",
]
}
>
Expand Down

0 comments on commit d769174

Please sign in to comment.