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

feat: restricted permissions for permission management [WD-18906] #1113

Merged
merged 22 commits into from
Feb 24, 2025

Conversation

mas-who
Copy link
Contributor

@mas-who mas-who commented Feb 17, 2025

Done

  • Graceful handling of permission management in the UI
  • covered actions documented in the permissions sheet

QA

  1. Run the LXD-UI:
  2. Perform the following QA steps:
    • Check through the list of actions documented here

@webteam-app
Copy link

@mas-who mas-who force-pushed the restricted-permissions-auth branch 3 times, most recently from ebe8130 to 3687eaf Compare February 20, 2025 08:05
@mas-who mas-who force-pushed the restricted-permissions-auth branch 2 times, most recently from c4a1f43 to 85efee8 Compare February 20, 2025 10:17
Copy link
Collaborator

@edlerd edlerd left a comment

Choose a reason for hiding this comment

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

Some preliminary review comments, read through about half the changes.

@mas-who mas-who force-pushed the restricted-permissions-auth branch 5 times, most recently from 1a7e717 to 5bc8f09 Compare February 21, 2025 08:14
Copy link
Collaborator

@edlerd edlerd left a comment

Choose a reason for hiding this comment

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

A couple of issues described below.

@mas-who mas-who force-pushed the restricted-permissions-auth branch 2 times, most recently from c6e0d52 to 654ed93 Compare February 21, 2025 14:37
@mas-who mas-who force-pushed the restricted-permissions-auth branch from 654ed93 to 83bf2f9 Compare February 21, 2025 14:57
@mas-who mas-who requested a review from edlerd February 21, 2025 14:57
@mas-who mas-who force-pushed the restricted-permissions-auth branch from 83bf2f9 to 24de60b Compare February 21, 2025 15:28
Copy link
Collaborator

@edlerd edlerd left a comment

Choose a reason for hiding this comment

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

See comments below. Also found a couple of QA issues on IDP groups.

…on to delete any of the selected identities

Signed-off-by: Mason Hu <[email protected]>
…on to delete all selected groups

Signed-off-by: Mason Hu <[email protected]>
@mas-who mas-who force-pushed the restricted-permissions-auth branch 3 times, most recently from 60c08eb to 78fd8e1 Compare February 24, 2025 09:07
@mas-who mas-who requested a review from edlerd February 24, 2025 09:07
@mas-who mas-who force-pushed the restricted-permissions-auth branch 2 times, most recently from d02797d to ab3fecb Compare February 24, 2025 15:45
@mas-who mas-who requested a review from edlerd February 24, 2025 15:47
Copy link
Collaborator

@edlerd edlerd left a comment

Choose a reason for hiding this comment

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

QA issues seem all resolved, thanks :)

Two tiny code improvement suggestions below, then this should be good to merge.

Signed-off-by: Mason Hu <[email protected]>
@mas-who mas-who force-pushed the restricted-permissions-auth branch from ab3fecb to 01995eb Compare February 24, 2025 16:43
Copy link
Collaborator

@edlerd edlerd left a comment

Choose a reason for hiding this comment

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

Good stuff, thanks for fixing this and communicating the discovered bugs to get them fixed upstream.

@mas-who mas-who merged commit 8bc7e81 into canonical:main Feb 24, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants