fix(licenses): expand delete permissions to org owners (not just site admins) #385
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Currently, only site admins can permanently delete license packages and keys. Org owners should also have this capability since they own the licensing data.
Current Behavior
LicensesDeletePackagechecksctx.IsUserSiteAdmin()onlyLicensesDeleteKeychecksctx.IsUserSiteAdmin()only$.IsSiteAdminExpected Behavior
ctx.Org.IsOwnercheck$.IsSiteAdminOR$.IsOrganizationOwnerTest Plan
🤖 Generated with Claude Code
Testing Plan — Expanded Delete Permissions
API
GUI
🤖 Generated with Claude Code
Tested and verified in production on MokoWaaS. All three download gating modes (none/prerelease/all), feed visibility, XML metadata, download URLs, and access control confirmed working.