NASA-AMMOS / aerie-ui

The client application for Aerie.
https://nasa-ammos.github.io/aerie-docs/
MIT License
28 stars 4 forks source link

aerie_admin (or other highest permission) role by default #1314

Open bradNASA opened 1 month ago

bradNASA commented 1 month ago

Checked for duplicates

Yes - I've already checked

Is this a regression?

No - This is a new bug

Version

2.5.0

Describe the bug

It's technically probably not a bug, but it is a defect. I created a feature request #1313, but there's no criticality associated with it, so I am creating this bug to add the criticality. I should have made it a bug to begin with.

Reproduction

see #1312

Logs

No response

System Info

chrome, mac

Severity

Major

bradNASA commented 3 weeks ago

After learning more, I think this might be fixed by changing the default values used when the DEFAULT_ROLE and maybe other environment variables are not set: https://github.com/NASA-AMMOS/aerie-gateway/blob/develop/docs/ENVIRONMENT.md