Skip to content

Commit

Permalink
include approved users section
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Kanzer authored and Aaron Kanzer committed Apr 19, 2024
1 parent 4c6876c commit c292b51
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/63_dandi_infrastructure.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

## Configuring Terraform

## Manual Steps in the AWS Console and Netlify
## Manual Steps in the AWS Console and Netlify

## Setting up Email
22 changes: 22 additions & 0 deletions docs/64_dandi_archive.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,28 @@ class HerokuProductionConfiguration(DandiMixin, HerokuProductionBaseConfiguratio

## Approval of Users

By default in DANDI, only users whose emails end in `.edu` are automatically approved -- [for code reference, see here](https://github.com/dandi/dandi-archive/blob/6e72653688a6b45066c04b94a44f830b734887dd/dandiapi/api/views/auth.py#L127).

For all other users, proceed into the Django Admin panel.

Click on the `Users` tab -- in the tab, find the appropriate user and click on their e-mail

<br/><br/>
<img
src="../img/user_approval.png"
alt="user_approval"
style="width: 60%; height: auto; display: block; margin-left: auto; margin-right: auto;"/>
<br/><br/>

Scroll down to the `User Metadata` section, where you will see a `Status` option.

Click `Approved` and then `Save` on the bottom of the screen -- the user will now have access to a valid API Key, in which they can interact with relevant assets within your Archive

<br/><br/>
<img
src="../img/user_metadata.png"
alt="user_metadata"
style="width: 60%; height: auto; display: block; margin-left: auto; margin-right: auto;"/>
<br/><br/>

## Setting up Staging Environments
Binary file added docs/img/user_approval.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/img/user_metadata.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c292b51

Please sign in to comment.