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

Remove a user from domains if they are removed from a portfolio #3318

Open
3 of 4 tasks
abroddrick opened this issue Jan 9, 2025 · 0 comments · May be fixed by #3393
Open
3 of 4 tasks

Remove a user from domains if they are removed from a portfolio #3318

abroddrick opened this issue Jan 9, 2025 · 0 comments · May be fixed by #3393
Assignees
Labels
dev issue is for the dev team Feature: 🏢 Org Model

Comments

@abroddrick
Copy link
Contributor

abroddrick commented Jan 9, 2025

Issue description

As an admin on a portfolio,
When I delete a user from my organization, I want them to be removed from any domains in my organization
so that I know they no longer have any kind of access to my orgs data

Likewise,

As an analyst,
when i delete someone from a portfolio in admin, I want them to be removed from any domains
so that I don't have to open up additional tables to remove them.

Acceptance criteria

  • When someone is removed from a portfolio they are removed from the portfolio domains they manage (or are "invited" to manage)
    • keep the new practice of canceling the invitations, don't delete them
    • remove user domain roles for domains in this portfolio
  • the above applies to someone removed from a portfolio via django admin portfolio invitations or user portfolio roles AND from the Members table in the registrar view
  • remove the user from the org_model_user group if they do not have any portfolios assigned to them anymore <- EDIT 01/23, this AC is obsolete cc @abroddrick
  • EDIT 01/23 - new AC - no action needed if deleting a retrieved portfolio invitation. Slack thread here.

Additional context

removing the user from the org model user group is so that they no longer have the waffle flags turned on for them
you should double check ag/staging or stable to be sure of the spelling of this user groups name.

Links to other issues

No response

@abroddrick abroddrick added the dev issue is for the dev team label Jan 9, 2025
@abroddrick abroddrick moved this from 👶 New to 🎯 Ready in .gov Product Board Jan 9, 2025
@MzBowieFan77 MzBowieFan77 moved this from 🎯 Ready to 🏗 In progress in .gov Product Board Jan 23, 2025
@dave-kennedy-ecs dave-kennedy-ecs moved this from 🏗 In progress to 👀 In review in .gov Product Board Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev issue is for the dev team Feature: 🏢 Org Model
Projects
Status: 👀 In review
Development

Successfully merging a pull request may close this issue.

3 participants