zed-spicedb-check

Execute Zed permission checks and resource lookups against SpiceDB in Kessel stage.

11|77|Updated Feb 1, 2019
One-click install
npx skills add https://github.com/RedHatInsights/insights-rbac --skill zed-spicedb-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: zed-spicedb-check
Source: https://github.com/RedHatInsights/insights-rbac/tree/main/.cursor/skills/zed
Command: npx skills add https://github.com/RedHatInsights/insights-rbac --skill zed-spicedb-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill allows you to run permission checks and resource lookups against SpiceDB, ensuring that users have the correct access to groups, workspaces, and other resources within the Kessel stage environment.

Core Features & Use Cases

  • Permission Verification: Check if a specific principal has a certain permission on a resource.
  • Resource Discovery: Find all resources of a certain type that a principal has access to.
  • Use Case: Verify if a user is a member of a specific group, or check if a user has 'view' access to a particular workspace.

Quick Start

Use the zed-spicedb-check skill to verify if user '12345678' is a member of group 'a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d' in the kessel stage.

Frequently Asked Questions about zed-spicedb-check

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Zed permission checks against SpiceDB for RBAC verification?

You need the oc CLI, a SpiceDB PSK token, and Zed context configuration to run Zed permission checks against SpiceDB. These components ensure secure and accurate authorization verification in the Kessel stage environment.

How do I check if a user has access to a specific workspace using SpiceDB?

To check workspace access using SpiceDB, this Skill executes resource lookups to verify if a specific principal has view or access permissions. It validates user access control for resources within the configured Kessel stage environment.

How can I verify group membership in the Kessel stage environment?

You can verify group membership in the Kessel stage by executing Zed permission checks against SpiceDB through this Skill. It validates whether a specific user ID is associated with a target group ID for RBAC access control.

How do I find all resources a user has access to in SpiceDB?

To find accessible resources in SpiceDB, this Skill performs resource discovery to lookup all resources of a specific type that a principal has permission to access. It queries the Kessel stage environment for authorized resources.

What is needed to perform Zed authorization checks in the Kessel stage?

Performing Zed authorization checks in the Kessel stage requires the oc CLI, a SpiceDB PSK token, and proper Zed context configuration. These prerequisites ensure secure and accurate permission validation against SpiceDB.