aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/component-issues
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-03-30 08:37:36 +0200
committerGrégoire Aubert <gregaubert@users.noreply.github.com>2017-03-31 10:29:27 +0200
commitad273cfcd1f1dd402e42d1e33cb34f27f5f9aaac (patch)
tree73ff8cbf734dab83af3f921c95383ac1c9987025 /server/sonar-web/src/main/js/apps/component-issues
parentf94f052f7eb90d1031b05b55b4b72ea433762860 (diff)
downloadsonarqube-ad273cfcd1f1dd402e42d1e33cb34f27f5f9aaac.tar.gz
sonarqube-ad273cfcd1f1dd402e42d1e33cb34f27f5f9aaac.zip
SONAR-8996 Restrict the issue assign action to members
Diffstat (limited to 'server/sonar-web/src/main/js/apps/component-issues')
-rw-r--r--server/sonar-web/src/main/js/apps/component-issues/init.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/component-issues/init.js b/server/sonar-web/src/main/js/apps/component-issues/init.js
index 038c2cdd78d..4b5abd4eb72 100644
--- a/server/sonar-web/src/main/js/apps/component-issues/init.js
+++ b/server/sonar-web/src/main/js/apps/component-issues/init.js
@@ -45,7 +45,8 @@ const init = function({ el, component, currentUser }) {
contextQuery: { componentUuids: this.config.resource },
contextComponentUuid: this.config.resource,
contextComponentName: this.config.resourceName,
- contextComponentQualifier: this.config.resourceQualifier
+ contextComponentQualifier: this.config.resourceQualifier,
+ contextOrganization: component.organization
});
this.updateContextFacets();
this.list = new Issues();