diff options
author | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2013-01-11 15:22:00 +0100 |
---|---|---|
committer | Fabrice Bellingard <fabrice.bellingard@sonarsource.com> | 2013-01-11 15:22:32 +0100 |
commit | f75396cb1754322c72e66bc4e588b88af4d9ea71 (patch) | |
tree | 876177369c753895d12e3932dd52c54a9360a1f8 /plugins | |
parent | b3ac1f07b44394fe08f467ac104ea1e797d2e4f3 (diff) | |
download | sonarqube-f75396cb1754322c72e66bc4e588b88af4d9ea71.tar.gz sonarqube-f75396cb1754322c72e66bc4e588b88af4d9ea71.zip |
SONAR-3932 problems with "Raw" link in Violations drilldown
=> For user without Code Viewer role
Diffstat (limited to 'plugins')
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties index d9735330d4c..307c8420df9 100644 --- a/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-core-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -1075,6 +1075,7 @@ coverage_viewer.overall_tests=All Tests # GENERIC CODE VIEWER # #------------------------------------------------------------------------------ +code_viewer.no_info_displayed_due_to_security=Due to security settings, no information can be displayed. code_viewer.create_violation.new_rule=New Rule code_viewer.create_violation.rules=Rules code_viewer.create_violation.submit=Create Violation diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/dependencies/DependenciesViewer.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/dependencies/DependenciesViewer.java index d3294622b4a..5693d2cff82 100644 --- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/dependencies/DependenciesViewer.java +++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/dependencies/DependenciesViewer.java @@ -33,7 +33,7 @@ import org.sonar.api.web.UserRole; @ResourceQualifier({Qualifiers.FILE, Qualifiers.CLASS, Qualifiers.PACKAGE, Qualifiers.PROJECT, Qualifiers.MODULE}) @DefaultTab(metrics = {CoreMetrics.AFFERENT_COUPLINGS_KEY, CoreMetrics.EFFERENT_COUPLINGS_KEY}) @NavigationSection({NavigationSection.RESOURCE_TAB}) -@UserRole(UserRole.USER) +@UserRole(UserRole.CODEVIEWER) public class DependenciesViewer extends AbstractRubyTemplate implements RubyRailsPage { public String getId() { |