46d59b48b5
Updated all GitHub URLs from cpfarhood to privilegedescalation organization: - Repository URLs in package.json and Artifact Hub metadata - Documentation links and references - Git remote updated No functional changes - this is purely an organizational migration. Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>
1.1 KiB
1.1 KiB
Headlamp Sealed Secrets API v0.2.0
Headlamp Sealed Secrets API / lib/rbac / checkSealedSecretPermissions
Function: checkSealedSecretPermissions()
checkSealedSecretPermissions(
namespace?):AsyncResult<ResourcePermissions,string>
Defined in: src/lib/rbac.ts:35
Check user permissions for SealedSecrets in a namespace
Uses Kubernetes SelfSubjectAccessReview API to verify what the current user is allowed to do with SealedSecret resources.
Parameters
namespace?
string
Optional namespace to check (cluster-wide if omitted)
Returns
AsyncResult<ResourcePermissions, string>
Result containing permission flags or error message