Skip to content

Add script to downgrade list of affiliations to the "USER" level#4508

Merged
FestiveKyle merged 4 commits intomasterfrom
downgrade-all-admin
May 11, 2023
Merged

Add script to downgrade list of affiliations to the "USER" level#4508
FestiveKyle merged 4 commits intomasterfrom
downgrade-all-admin

Conversation

@FestiveKyle
Copy link
Copy Markdown
Collaborator

As described.

Closes #4471

@FestiveKyle FestiveKyle requested a review from lcampbell2 May 4, 2023 19:54
@@ -0,0 +1,3 @@
userId,displayName,userName,totalCount,affiliationId,permission,organizationId,acronym,name,slug
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like in the script we're only using the orgId and userName values. Are the other headers necessary?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope, not required for the script. The other stuff is there since that's the info we took from the export and it might be easier to vet with the extra columns. We can remove from example.csv no problem

@FestiveKyle FestiveKyle merged commit fd784bb into master May 11, 2023
@FestiveKyle FestiveKyle deleted the downgrade-all-admin branch May 11, 2023 13:55
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

Successfully merging this pull request may close these issues.

Prepare for downgrade of user rights

2 participants