DIGITAL-789: Update the "default" users for dev#456
Open
akf wants to merge 2 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jira ticket
DIGITAL-789
Purpose
I got tired of not being able to just log in as myself on the dev site without first adding myself. Plus, the default user set includes a lot of people who aren't on the project. So with this update:
@exampleusers who are probably used for testing access scenarios, and who won't be able to log in anyway)This affects the dev site every time we deploy to it, and local dev if
lando siis used to populate it.Deployment and testing
The easiest thing would be to go to https://digital-gov-drupal-dev.app.cloud.gov/user/login to test this; you should be able to log in there as you would on prod.
That is, assuming we haven't deployed some other update to dev! If we have, merge
developinto this branch, which will kick off another deployment to dev, and when that finishes you can test.You should see the same
gsa.govusers in dev as in prod.Local Setup
If you want to test locally, you'll need to clear out your database before you can successfully run
lando si. You won't be able to usedrushto do that, because it requires a secure connection to the database and the local dev db isn't set up that way. (That's a thing to fix another day.) I did this:You will also need the
GSA_AUTH_KEYenvironment variable for local dev. I have it in my .lando.local.yml file, so you can get it from me if you need it. I don't think it was automatically picked up from there, though -- or maybe I was impatient. As noted in docs/backend.md:QA/Testing instructions
gsa.govusers as in prod.Checklist for the Developer
Checklist for the Peer Reviewers