diff options
Diffstat (limited to 'sonar-core/src')
4 files changed, 6 insertions, 6 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/user/Permissions.java b/sonar-core/src/main/java/org/sonar/core/user/Permissions.java index 636d0773e49..5df063e292c 100644 --- a/sonar-core/src/main/java/org/sonar/core/user/Permissions.java +++ b/sonar-core/src/main/java/org/sonar/core/user/Permissions.java @@ -30,7 +30,7 @@ public interface Permissions { String SYSTEM_ADMIN = "admin"; String QUALITY_PROFILE_ADMIN = "profileadmin"; - String DASHBOARD_SHARING = "sharedashboard"; + String DASHBOARD_SHARING = "shareDashboard"; String SCAN_EXECUTION = "scan"; String DRY_RUN_EXECUTION = "dryrun"; } diff --git a/sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql b/sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql index 1aa4cda1fef..c0e5e0cb2a7 100644 --- a/sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql +++ b/sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql @@ -6,7 +6,7 @@ ALTER TABLE GROUPS ALTER COLUMN ID RESTART WITH 3; INSERT INTO GROUP_ROLES(ID, GROUP_ID, RESOURCE_ID, ROLE) VALUES (1, 1, null, 'admin'); INSERT INTO GROUP_ROLES(ID, GROUP_ID, RESOURCE_ID, ROLE) VALUES (2, 1, null, 'profileadmin'); -INSERT INTO GROUP_ROLES(ID, GROUP_ID, RESOURCE_ID, ROLE) VALUES (3, 1, null, 'sharedashboard'); +INSERT INTO GROUP_ROLES(ID, GROUP_ID, RESOURCE_ID, ROLE) VALUES (3, 1, null, 'shareDashboard'); INSERT INTO GROUP_ROLES(ID, GROUP_ID, RESOURCE_ID, ROLE) VALUES (4, null, null, 'scan'); INSERT INTO GROUP_ROLES(ID, GROUP_ID, RESOURCE_ID, ROLE) VALUES (5, null, null, 'dryrun'); ALTER TABLE GROUP_ROLES ALTER COLUMN ID RESTART WITH 6; diff --git a/sonar-core/src/test/resources/org/sonar/core/user/RoleDaoTest/groupPermissions-result.xml b/sonar-core/src/test/resources/org/sonar/core/user/RoleDaoTest/groupPermissions-result.xml index f1f5f50fc06..7ed962bf017 100644 --- a/sonar-core/src/test/resources/org/sonar/core/user/RoleDaoTest/groupPermissions-result.xml +++ b/sonar-core/src/test/resources/org/sonar/core/user/RoleDaoTest/groupPermissions-result.xml @@ -4,8 +4,8 @@ <groups id="101" name="sonar-users"/> <group_roles id="1" group_id="100" role="admin"/> - <group_roles id="3" group_id="100" role="sharedashboard"/> - <group_roles id="4" group_id="101" role="sharedashboard"/> + <group_roles id="3" group_id="100" role="shareDashboard"/> + <group_roles id="4" group_id="101" role="shareDashboard"/> <!-- Group 'anyone' has a NULL group_id --> <group_roles id="5" group_id="[null]" role="scan"/> <group_roles id="6" group_id="[null]" role="dryrun"/> diff --git a/sonar-core/src/test/resources/org/sonar/core/user/RoleDaoTest/groupPermissions.xml b/sonar-core/src/test/resources/org/sonar/core/user/RoleDaoTest/groupPermissions.xml index 832c7f087c5..a10dd70b113 100644 --- a/sonar-core/src/test/resources/org/sonar/core/user/RoleDaoTest/groupPermissions.xml +++ b/sonar-core/src/test/resources/org/sonar/core/user/RoleDaoTest/groupPermissions.xml @@ -5,8 +5,8 @@ <group_roles id="1" group_id="100" role="admin"/> <group_roles id="2" group_id="100" role="profileadmin"/> - <group_roles id="3" group_id="100" role="sharedashboard"/> - <group_roles id="4" group_id="101" role="sharedashboard"/> + <group_roles id="3" group_id="100" role="shareDashboard"/> + <group_roles id="4" group_id="101" role="shareDashboard"/> <!-- Group 'anyone' has a NULL group_id --> <group_roles id="5" group_id="[null]" role="scan"/> <group_roles id="6" group_id="[null]" role="dryrun"/> |