IQSS / dataverse

Open source research data repository software
http://dataverse.org
Other
876 stars 484 forks source link

Payara 6: dataverseAdmin is not a superuser #9324

Closed pdurbin closed 1 year ago

pdurbin commented 1 year ago

The text is not red. No dashboard link:

Screen Shot 2023-01-25 at 12 02 58 PM

donsizemore commented 1 year ago

@pdurbin I'm not sure why it wasn't, but in the mean time I've set:

[dls@payara6 ~]$ curl -X POST http://localhost:8080/api/admin/superuser/dataverseAdmin
{"status":"OK","data":{"message":"User @dataverseAdmin set as a superuser."}}

Multiple installer runs happened on that box; without looking I'd say it was an even number, affecting the toggle.

pdurbin commented 1 year ago

@donsizemore thanks! Fixed now. Closing.

Note to self, I agree with @landreev that we should have an API to set superuser status rather than toggle it: https://github.com/IQSS/dataverse/issues/3612#issuecomment-307170234