Open iameskild opened 1 year ago
We need to move away from using analyst/developer as shortcuts for things.
Really what needs to happen is we have the following roles that can be applied to people or groups (names can change)
Another point is I think we might want to change the UI to have another optional section that lets me see and use other peoples personal environments. This might require a flag to decide whether it is enabled.
But I may want to browse to /kcpevey/datascience and look at or use that environment (but not edit). Superadmins can currently do this but since all those environments pollute the root of the conda-store-ui.
The role mapping in conda-store is currently undergoing some improvements which will affect this - https://github.com/conda-incubator/conda-store/issues/491
This is no longer blocked since the latest conda-store release now has the role mapping changes.
This issue covers the same topic as https://github.com/nebari-dev/nebari/issues/1898
We need to revist how groups and roles should be used in general in Nebari.
The analyst
/developer
/users
concept is a leftover from two early use cases that are no longer valid. We have developers
which is currently required for dask and we have users
which I believe is unused by Nebari but we know of external teams using it.
Nebari ships with four default groups each tied to various roles:
analyst
-->conda-store-developer
--> see conda-storedeveloper
role mappingdeveloper
-->conda-store-developer
--> see conda-storedeveloper
role mappingadmin
-->conda-store-admin
--> see conda-storeadmin
role mappingsuperadmin
A few things that are worth noting:
conda-store-viewer
role to any groupsviewer
role mappingadmin
(orsuperadmin
) group can create environments in shared namespaces.conda-store-admin
to thedeveloper
group or conda-store needs to expand/modify their existing roles.global
andnebari-git
.