Skip to content

Commit

Permalink
Changed default role for new users (#48)
Browse files Browse the repository at this point in the history
<!---
Please write the PR title following the conventions at
https://www.conventionalcommits.org/en/v1.0.0/
Example:
fix(dashboard): load charts correctly
-->

### SUMMARY
<!--- Describe the change below, including rationale and design
decisions -->

### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
<!--- Skip this if not applicable -->

### TESTING INSTRUCTIONS
<!--- Required! What steps can be taken to manually verify the changes?
-->

### ADDITIONAL INFORMATION
<!--- Check any relevant boxes with "x" -->
<!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
- [ ] Has associated issue:
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration (follow approval process in
[SIP-59](apache#13351))
  - [ ] Migration is atomic, supports rollback & is backwards-compatible
  - [ ] Confirm DB migration upgrade and downgrade tested
  - [ ] Runtime estimates and downtime expectations provided
- [ ] Introduces new feature or API
- [ ] Removes existing feature or API
  • Loading branch information
HariSeldon23 authored Nov 28, 2024
2 parents 9e2d317 + a403425 commit 96a924d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ def _try_json_readsha(filepath: str, length: int) -> str | None:

# Authentication Configuration
AUTH_USER_REGISTRATION = True
AUTH_USER_REGISTRATION_ROLE = "sql_lab"
AUTH_USER_REGISTRATION_ROLE = "Alpha"
AUTH_ROLES_SYNC_AT_LOGIN = True
AUTH_ROLES_MAPPING = {
"studio_admin": ["Admin"],
Expand Down

0 comments on commit 96a924d

Please sign in to comment.