research-software-directory / RSD-as-a-service

This repo contains the new RSD-as-a-service implementation
https://research.software
23 stars 15 forks source link

Add support for dev enironment in the authentication service #1062

Closed dmijatovic closed 9 months ago

dmijatovic commented 9 months ago

We have changed the way the rsd admin role is assigned to users. Since version v 2.4.0 the account id of rsd admin user need to be defined in the admin_account table. This is done as security improvement measure.

During the development it is more suitable to automatically add first person to have rsd_admin role. I would like to propose the following approach for development mode:

@cmeessen, @fembau and @jcohen02 Do you agree to this proposal or maybe you have some other suggestion how to make rsd_admin role easily accessible during the development?