mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-28 16:29:54 +02:00
Merge branch 'main' of https://github.com/cisagov/manage.get.gov into es/2162-delete-submitter-v2
This commit is contained in:
commit
07d8017e99
49 changed files with 989 additions and 158 deletions
|
@ -97,6 +97,7 @@ While on production (the sandbox referred to as `stable`), an existing analyst o
|
|||
"username": "<UUID here>",
|
||||
"first_name": "",
|
||||
"last_name": "",
|
||||
"email": "",
|
||||
},
|
||||
...
|
||||
]
|
||||
|
@ -121,6 +122,7 @@ Analysts are a variant of the admin role with limited permissions. The process f
|
|||
"username": "<UUID here>",
|
||||
"first_name": "",
|
||||
"last_name": "",
|
||||
"email": "",
|
||||
},
|
||||
...
|
||||
]
|
||||
|
@ -131,6 +133,20 @@ Analysts are a variant of the admin role with limited permissions. The process f
|
|||
|
||||
Do note that if you wish to have both an analyst and admin account, append `-Analyst` to your first and last name, or use a completely different first/last name to avoid confusion. Example: `Bob-Analyst`
|
||||
|
||||
## Adding an email address to the email whitelist (sandboxes only)
|
||||
On all non-production environments, we use an email whitelist table (called `Allowed emails`). This whitelist is not case sensitive, and it provides an inclusion for +1 emails (like example.person+1@igorville.gov). The content after the `+` can be any _digit_. The whitelist checks for the "base" email (example.person) so even if you only have the +1 email defined, an email will still be sent assuming that it follows those conventions.
|
||||
|
||||
To add yourself to this, you can go about it in three ways.
|
||||
|
||||
Permanent (all sandboxes):
|
||||
1. In src/registrar/fixtures_users.py, add the "email" field to your user in either the ADMIN or STAFF table.
|
||||
2. In src/registrar/fixtures_users.py, add the desired email address to the `ADDITIONAL_ALLOWED_EMAILS` list. This route is suggested for product.
|
||||
|
||||
Sandbox specific (wiped when the db is reset):
|
||||
3. Create a new record on the `Allowed emails` table with your email address. This can be done through django admin.
|
||||
|
||||
More detailed instructions regarding #3 can be found [here](https://docs.google.com/document/d/1ebIz4PcUuoiT7LlVy83EAyHAk_nWPEc99neMp4QjzDs).
|
||||
|
||||
## Adding to CODEOWNERS (optional)
|
||||
|
||||
The CODEOWNERS file sets the tagged individuals as default reviewers on any Pull Request that changes files that they are marked as owners of.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue