Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

SMD-615: Debug user for local development #83

Merged
merged 3 commits into from
Feb 16, 2024
Merged

Conversation

gidsg
Copy link
Contributor

@gidsg gidsg commented Feb 15, 2024

Change description

Sister PR to: communitiesuk/funding-service-design-post-award-submit#135

Overrides auth when running in development, using the existing override functionality in the @login_required decorator

  • Unit tests and other appropriate tests added or updated
  • README and other documentation has been updated / added (if needed)
  • Commit messages are meaningful and follow good commit message guidelines (e.g. "FS-XXXX: Add margin to nav items preventing overlapping of logo")

How to test

When running locally, you should be able to access /download without going through Microsoft auth

Screenshots of UI changes (if applicable)

Utils now expects roles to be present in token, so update fixture to return empty role list
@gidsg gidsg merged commit 3834dbf into main Feb 16, 2024
2 checks passed
@gidsg gidsg deleted the smd-615-auth-override branch February 16, 2024 09:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants