Skip to content

Commit ceffe91

Browse files
committed
feat(upgrade): Default to superuser for first user (#13706)
Right now this is breaking docker-sentry git builds. Guessing it will cause more issues in the future and was reported here on the forums: https://forum.sentry.io/t/enhancement-configs-not-found-on-latest-branches/6800?u=byk
1 parent c8d139d commit ceffe91

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ recursive-include ./ requirements*.txt
44
recursive-include src/sentry/templates *
55
recursive-include src/sentry/locale *
66
recursive-include src/sentry/data *
7+
recursive-include src/sentry/grouping *
78
recursive-include src/sentry/static/sentry *
89
recursive-include src/sentry/scripts *.lua
910
recursive-include src/sentry/integration-docs *.json

src/sentry/receivers/users.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def create_first_user(created_models, verbosity, db, app=None, **kwargs):
3030
return
3131

3232
from sentry.runner import call_command
33-
call_command('sentry.runner.commands.createuser.createuser')
33+
call_command('sentry.runner.commands.createuser.createuser', superuser=True)
3434

3535

3636
post_syncdb.connect(

0 commit comments

Comments
 (0)