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

Inventory user housekeeping #4457

Closed
1 of 4 tasks
FuhuXia opened this issue Sep 8, 2023 · 4 comments
Closed
1 of 4 tasks

Inventory user housekeeping #4457

FuhuXia opened this issue Sep 8, 2023 · 4 comments
Assignees
Labels
bug Software defect or bug

Comments

@FuhuXia
Copy link
Member

FuhuXia commented Sep 8, 2023

We need Inventory user to match what we have on spreadsheet submitted via google form application. Delete those users that are not listed on the spreadsheet.

How to reproduce

We have 126 users listed under https://inventory.data.gov/user/
Some are gmail and yahoo users created recently.

Expected behavior

We should only have

  • one user for NewRelic synthetic monitoring token
  • 9 sysadmin users, listed in sysadmin-users cf environment variable.
  • those listed on the spreadsheet via google form. 85 on the list as of now.

Actual behavior

More users than listed.

Sketch

@FuhuXia FuhuXia added the bug Software defect or bug label Sep 8, 2023
@FuhuXia
Copy link
Member Author

FuhuXia commented Sep 8, 2023

To find out which user does not belong to any organizations, we can use the combination of api calls

  • /api/action/user_list and
  • /api/action/organization_list_for_user?id=< username >

@FuhuXia
Copy link
Member Author

FuhuXia commented Sep 8, 2023

The yahoo and gmail user accounts were created due to

So unless this #4297 is fixed, there is no meaningful housekeeping canbe done.

@GSA GSA deleted a comment from crysacarter Sep 14, 2023
@FuhuXia
Copy link
Member Author

FuhuXia commented Sep 14, 2023

File CY.2023.Inventory.data.gov.User.List.xlsx is attached and downloaded.

@hkdctol hkdctol moved this to 📔 Product Backlog in data.gov team board Sep 14, 2023
@gujral-rei gujral-rei moved this from 📔 Product Backlog to 📟 Sprint Backlog [7] in data.gov team board Feb 29, 2024
@FuhuXia FuhuXia moved this from 📟 Sprint Backlog [7] to 🏗 In Progress [8] in data.gov team board Mar 6, 2024
@FuhuXia
Copy link
Member Author

FuhuXia commented Mar 8, 2024

Deleted users from catalog and inventory that are not on the:
CY 2024 Catalog.data.gov User List .xlsx
CY 2024 Inventory.data.gov User List.xlsx

@FuhuXia FuhuXia closed this as completed Mar 8, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In Progress [8] to ✔ Done in data.gov team board Mar 8, 2024
@FuhuXia FuhuXia self-assigned this Mar 13, 2024
@gujral-rei gujral-rei moved this from ✔ Done to 🗄 Closed in data.gov team board Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Software defect or bug
Projects
Archived in project
Development

No branches or pull requests

1 participant