Skip to content

Commit ac61a31

Browse files
add create-vault role to realm json (#113)
1 parent 1352be5 commit ac61a31

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

assets/js/hubsetup.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ ${e}`;
113113
result += '# * KC_DB\n# * KC_HEALTH_ENABLED\n# * KC_HTTP_RELATIVE_PATH\n\n';
114114
}
115115

116-
result += '# Generated using script version 5\n\n';
116+
result += '# Generated using script version 6\n\n';
117117

118118
return result;
119119
}
@@ -216,12 +216,17 @@ GRANT ALL PRIVILEGES ON DATABASE hub TO hub;`);
216216
description: 'User',
217217
composite: false
218218
},
219+
{
220+
name: 'create-vaults',
221+
description: 'Can create vaults',
222+
composite: false
223+
},
219224
{
220225
name: 'admin',
221226
description: 'Administrator',
222227
composite: true,
223228
composites: {
224-
realm: ['user'],
229+
realm: ['user', 'create-vaults'],
225230
client: {
226231
'realm-management': ['realm-admin']
227232
}

0 commit comments

Comments
 (0)