lzim / teampsd

Team PSD is using GitHub, R and RMarkdown as part of our free and open science workflow.
GNU General Public License v3.0
9 stars 23 forks source link

2024_07 #story_b: BUG: newly created teams in PROD not created or seen as expected #3203

Open ljmoody opened 2 weeks ago

ljmoody commented 2 weeks ago

Discovered 7/3/2024 when creating a team live with James. VA laptop. Edge browser. Using my VA email login to and create teams within Sim UI, PROD instance.

What happens now:

Test 1, PROD:

After creating a new team and adding:

The _shared world includes: image

I then logged off, and logged in using Praxis credentials:

  1. I see these teams listed: image
  2. The _teams world only has me listed & does not include 6 automatically added individuals image
  3. The _ind world only has me listed & does not include 6 automatically added individuals image

Test 2, PROD:

After creating a new team and adding:

  1. The _team world includes:

    [!NOTE]
    Jennifer is missing.

image

  1. The _shared world includes: image

  2. The _ind world includes:

    [!NOTE]
    Jennifer is missing.

image

What should happen:

The behavior of PROD new team creation should be the same as found in TEST:

Test 3, TEST:

When live testing with James (Edge, VA laptop, VA login), I created a new team adding:

  1. The _team world includes: image

  2. The shared world includes: ? - Should James also be listed here as Team Lead/VA email_ image

  3. The _ind world includes: image

tejaspesquare commented 2 weeks ago

@jamesmrollins , @ljmoody ,

This looks working fine as expected.

Prod Instance, using 'tejas.p' login:

New Team got created image

All 3 worlds got configured with expected default members:

ex. _ind world image

image

Added - Laura Moddy, Praxis email, Administrator role Edited James, Praxis email, Team Lead role from Administrator under _shared world: image

Logged in using Laura Moody's Praxis account, only permission granted world is being added which is expected image

all 6 automatically added individually are present image

image

If I miss anything, please let me know.

ljmoody commented 1 week ago

@tejaspesquare, I tested as you did and, using your same scenarios I got matching results. Which is good. However, the Sim UI PROD instance is acting strangely for me.

I think something odd could be going on with team creation in PROD. Can you please check? fyi: tested using VA login, PROD instance, Edge browser, VA laptop.

Create a team from Admin Dashboard > Settings > Add, & did not add any members as I created the team:

image

Create team from Admin Dashboard > Settings > Add, & added 2 members myself as I created the team:

Create a team from Admin Dashboard > Settings > Add.

Checking against Epicenter:

It looks as though all worlds were made for all 3 teams I created, but that's not what appears in the Sim UI: image

fyi: @jamesmrollins @lijenn

ljmoody commented 1 week ago

7/9/24 response from Tejas: It appears that there is a conflict during team setup calls, as both of yours VA and Praxis have Administrator login access. We will need to investigate further to determine the root cause, and we will provide you with an update once we have more information.

Note: When we used James's credentials, the setup worked well. Not certain but his VA login Id having non-admin access.

jamesmrollins commented 1 week ago

@tejaspesquare please provide a weekending update. Thank you.

tejaspesquare commented 6 days ago

Hello @jamesmrollins The work is still ongoing. The developer is in the process of troubleshooting the code.

tejaspesquare commented 3 days ago

Hello @jamesmrollins , @ljmoody ,

This is got fixed & can be tested on TEST.

Using Laura's VA credentials, Team setup done & all worlds (_Team,_shared & _ind) got created

image

Checking Respective Worlds with default Members

  1. _team World image image

2._shared world image image

3._ind world image image

When login with Laura's Praxis credentials, I see _team & _ind worlds accessible image

When establishing a team without including any team members or appointing a Team Lead image

image

Alos, did team setup using Laura's Praxis credentials, worlds got created as expected image

Kindly confirm and inform us if you have noticed any discrepancies. If there are any aspects related to the business requirements that we may have overlooked, please share those details with us too.

ljmoody commented 2 days ago

Hi @tejaspesquare - I'll test as you did and outline my experience below. Tested in TEST, Edge browser. fyi: @jamesmrollins @lijenn @matomasz

Test 1: Edge browser, VA login

Created a team.

Checked all worlds for default members.

Added myself (Praxis email) as Administrator in _ind and _team worlds.

Test 2: Chrome browser, VA login

Created a team.

Checked all worlds for default members.

Didn't have to add myself (Praxis email) to _ind as it was already populated.

_I believe I should see the shared world upon team creation since I am an Administrator and am listed in all 3 worlds in Epicenter, correct?

Test 3: Chrome browser, Praxis login

Created a team.

-default members only; did not add any image

Checked all worlds for default members.

Note: It is odd to me that under my Praxis login, I am auto added twice (once with VA email, once with Praxis email) onto all teams. Versus under my VA login, where I am auto added once to _ind and _team, but not to _shared.

ljmoody commented 7 hours ago

@tejaspesquare -Jenn and I tested this together in PROD instance today - I used Edge, she used Chrome. We both experienced the same issues outlined below:

image

fyi: @jamesmrollins