Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Conversation

@BolajiOlajide
Copy link
Contributor

@BolajiOlajide BolajiOlajide commented Feb 6, 2023

The addition of the deleted_at column (now looking at it in hindsight) was an oversight. It complicates the logic for the MVP a bit. Since site admins can create and delete roles, it's easy to remove that column and expect that if a role is deleted, it can be made and reassigned to whatever users were assigned to it before.

Test plan

  • Database migrations run fine
  • Manually tested

@BolajiOlajide BolajiOlajide added batch-changes Issues related to Batch Changes rbac labels Feb 6, 2023
@BolajiOlajide BolajiOlajide self-assigned this Feb 6, 2023
@cla-bot cla-bot bot added the cla-signed label Feb 6, 2023
@BolajiOlajide BolajiOlajide marked this pull request as ready for review February 6, 2023 01:51
@BolajiOlajide BolajiOlajide requested a review from a team February 7, 2023 07:46
Copy link
Contributor

@courier-new courier-new left a comment

Choose a reason for hiding this comment

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

Nice, was actually going to ask about this on another PR, but then I saw this one. 🙂

Just an FYI to remind you to remove it here from your other PR, too.

@BolajiOlajide
Copy link
Contributor Author

Nice, I was going to ask about this on another PR, but then I saw this one. 🙂

Just an FYI to remind you to remove it here from your other PR, too.

Good catch. Thanks.

@BolajiOlajide BolajiOlajide force-pushed the bo/remove-roles-deleted_at branch from b3a33d2 to e880e9d Compare February 8, 2023 17:14
@BolajiOlajide BolajiOlajide added cla-signed rbac batch-changes Issues related to Batch Changes and removed batch-changes Issues related to Batch Changes cla-signed rbac labels Feb 8, 2023
@BolajiOlajide BolajiOlajide merged commit e7a03c7 into main Feb 9, 2023
@BolajiOlajide BolajiOlajide deleted the bo/remove-roles-deleted_at branch February 9, 2023 03:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

batch-changes Issues related to Batch Changes cla-signed rbac

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants