Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assign new User to a Default project (as a viewer) via Optional ENV Vars #4968

Open
seanocca opened this issue Nov 27, 2024 · 0 comments
Open

Comments

@seanocca
Copy link

Description

Creating a new project for every new user on login will cause unnecessary bloat on any database that is used.
This would be easier for admin/management of the litmus UI if we can default a user to a known project (e.g. the Admin project) with the role of viewer. However if this option is exposed as an optional Environment variable and the application creates that project on startup then we can assign all new users into a generalized location

Current Management of Users Workflow

WITHOUT DEX
  1. Start application from Helm chart
  2. Admin user creates a user
  3. User signs in and gets a new project solely for them
  4. Admin invites user to X project with X role
  5. User should then delete personal project (but most likely won't because it's not forced)
WITH DEX
  1. Start application from Helm chart
  2. User signs in with Single Sign On and gets a new project solely for them
  3. Admin invites user to X project with X role
  4. User should then delete personal project (but most likely won't because it's not forced)

Desired Management of Users Workflow

WITHOUT DEX
  1. Start application from Helm chart with an ENV var (e.g. DEFAULT_PROJECT_NAME=admin). ***
  2. User signs in with basic authentication (username and password) and automatically gets ASSIGNED as a Viewer in the default project
WITH DEX
  1. Start application from Helm chart with an ENV var (e.g. DEFAULT_PROJECT_NAME=admin). ***
  2. User signs in with Single Sign On and automatically gets ASSIGNED as a Viewer in the default project

*** If Project does not already exist the application should create it

CAVEAT

If the optional ENV var is not set then the process should remain the same as it currently is as that may be the desired outcome of many project admins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant