aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2017-02-01 17:01:57 +0100
committerStas Vilchik <stas-vilchik@users.noreply.github.com>2017-02-03 11:54:45 +0100
commit63d06f0b44b99b0ca814d590b1487265db998bc3 (patch)
tree1c9775e48bc959bd357b58dc7a479ba8217e4273 /server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js
parentaf070afc92b4b36ae75727af3377b4107a0a0203 (diff)
downloadsonarqube-63d06f0b44b99b0ca814d590b1487265db998bc3.tar.gz
sonarqube-63d06f0b44b99b0ca814d590b1487265db998bc3.zip
SONAR-8729 Create organization's permissions page
Diffstat (limited to 'server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js')
-rw-r--r--server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js b/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js
index eff625b4fac..fef65522ef8 100644
--- a/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js
+++ b/server/sonar-web/src/main/js/apps/organizations/navigation/OrganizationNavigation.js
@@ -26,6 +26,7 @@ const ADMIN_PATHS = [
'edit',
'groups',
'delete',
+ 'permissions',
'permission_templates'
];
@@ -58,6 +59,11 @@ export default class OrganizationNavigation extends React.Component {
</Link>
</li>
<li>
+ <Link to={`/organizations/${organization.key}/permissions`} activeClassName="active">
+ {translate('permissions')}
+ </Link>
+ </li>
+ <li>
<Link to={`/organizations/${organization.key}/permission_templates`} activeClassName="active">
{translate('permission_templates')}
</Link>