Skip to content

Conversation

@tmeckel
Copy link
Owner

@tmeckel tmeckel commented Nov 4, 2025

Closes: #83

Move the permission bit parsing logic out of the update command into
internal/cmd/security/permission/shared/permission_bits.go and replace the
local parseBits function with shared.ParsePermissionBits. Add unit tests
for the parsing logic (permission_bits_test.go) and update existing
tests.
Add a new "security permission reset" CLI command to reset explicit
allow/deny permission bits for a user or group on a securable resource.
The command accepts textual, decimal, or hex permission identifiers,
resolves subject descriptors, queries namespace actions to compute
bitmasks, prompts for confirmation (optional --yes), removes the
permissions and then reports the effective permission state.
@tmeckel tmeckel merged commit 72fa84f into master Nov 4, 2025
1 check passed
@tmeckel tmeckel deleted the tmeckel/issue83 branch November 4, 2025 14:35
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.

feat: Implement azdo security permission reset command

1 participant