Skip to content

fix(add-form): swap permission check and autocreate admin#179

Merged
samoehlert merged 1 commit intomainfrom
topic/soehlert/add_form_initial_load
Nov 17, 2025
Merged

fix(add-form): swap permission check and autocreate admin#179
samoehlert merged 1 commit intomainfrom
topic/soehlert/add_form_initial_load

Conversation

@samoehlert
Copy link
Copy Markdown
Collaborator

Closes #10

this makes the add form shows up on initial install. right now it also shows up fine if you're already logged in, and does not show up if you are not logged in. Aka it works correctly other than the case this fixes.

…form shows up on initial install

right now it also shows up fine if you're already logged in, and does not show up if you are not logged in. Aka it works correctly other than the case this fixes.
@github-actions
Copy link
Copy Markdown

File Coverage
All files 82%
config/consumers.py 78%
config/urls.py 69%
config/settings/base.py 69%
config/settings/local.py 72%
scram/route_manager/admin.py 71%
scram/route_manager/models.py 70%
scram/route_manager/views.py 88%
scram/route_manager/api/serializers.py 92%
scram/route_manager/api/views.py 74%
scram/shared/shared_code.py 56%
scram/templates/403.html 91%
scram/templates/404.html 91%
scram/templates/base.html 99%

Minimum allowed coverage is 50%

Generated by 🐒 cobertura-action against 3b0c812

Copy link
Copy Markdown
Collaborator

@crankynetman crankynetman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, EXCELLENT. This has been a perpetually annoying.

@samoehlert samoehlert merged commit 0d9f10d into main Nov 17, 2025
17 of 20 checks passed
@samoehlert samoehlert deleted the topic/soehlert/add_form_initial_load branch November 17, 2025 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add form doesn't show up on first home page load

3 participants