You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/env-variables.md
+18-1Lines changed: 18 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -162,9 +162,26 @@ You could configure connection list with env variables, than "Add connection: en
162
162
* LOCAL_DATA_CENTER_[connection id] - local data center (for Apache Cassandra)
163
163
* CONNECTION_[connection id]_parameterName - set engine-specific parameter name
164
164
165
-
166
165
SettingsModal.svelte , find string "name="/ If you need to define "true", use value "1". If you need "false", use empty string ("0" will not work)
167
166
167
+
## Roles configuration
168
+
This configuration can be used only in Team Premium edition, when storage database is used for settings. Roles from environment variables are imported into storage database at docker container startup.
169
+
You could define roles with specific permissions and assign connections to the role. Assigning roles to users is done in administration UI.
170
+
*`ROLE_[role_name]_PERMISSIONS` - comma separated list of permissions for given role. See permission list below
171
+
*`ROLE_[role_name]_CONNECTIONS` - comma separated list of connection IDs assigned to given role
172
+
*`ROLE_[role_name]_DATABASES_[db_perm_id]_CONNECTION` - connection ID for database permission with given ID
173
+
*`ROLE_[role_name]_DATABASES_[db_perm_id]_DATABASES` - pipe ("|") separated list of database names for database permission with given ID
174
+
*`ROLE_[role_name]_DATABASES_[db_perm_id]_DATABASES_REGEX` - regular expression for database names for database permission with given ID
0 commit comments