aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js')
-rw-r--r--server/sonar-web/src/main/js/apps/component-issues/app.js1
-rw-r--r--server/sonar-web/src/main/js/apps/issues/app.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/component-issues/app.js b/server/sonar-web/src/main/js/apps/component-issues/app.js
index a2f24c52aaf..7768330dd43 100644
--- a/server/sonar-web/src/main/js/apps/component-issues/app.js
+++ b/server/sonar-web/src/main/js/apps/component-issues/app.js
@@ -37,6 +37,7 @@ const init = function () {
this.config = options.config;
this.state = new State({
+ canBulkChange: !!window.SS.user,
isContext: true,
contextQuery: { componentUuids: options.config.resource },
contextComponentUuid: options.config.resource,
diff --git a/server/sonar-web/src/main/js/apps/issues/app.js b/server/sonar-web/src/main/js/apps/issues/app.js
index 4c15e33a8c2..bc083906618 100644
--- a/server/sonar-web/src/main/js/apps/issues/app.js
+++ b/server/sonar-web/src/main/js/apps/issues/app.js
@@ -34,7 +34,7 @@ const App = new Marionette.Application();
const init = function () {
const options = window.sonarqube;
- this.state = new State();
+ this.state = new State({ canBulkChange: !!window.SS.user });
this.list = new Issues();
this.facets = new Facets();