verify-permissions

Validate RBAC configurations for tab access, button visibility, and permission checks.

Updated Dec 23, 2025
One-click install
npx skills add https://github.com/BIGSHOL/ijw-Calander --skill verify-permissions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: verify-permissions
Source: https://github.com/BIGSHOL/ijw-Calander/tree/main/.claude/skills/verify-permissions
Command: npx skills add https://github.com/BIGSHOL/ijw-Calander --skill verify-permissions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that your application's role-based access control (RBAC) system is correctly implemented, preventing unauthorized access and ensuring users only see and interact with the features they are permitted to.

Core Features & Use Cases

  • Role-Tab Mapping Verification: Checks if the defined permissions for different user roles accurately reflect which tabs and features are accessible.
  • Hook Usage Validation: Confirms that critical hooks like usePermissions and useTabPermissions are correctly integrated into components that require access control.
  • UI Element Visibility: Verifies that buttons, menus, and other UI elements are conditionally rendered based on user roles.
  • Use Case: After updating the DEFAULT_TAB_PERMISSIONS in types/system.ts or modifying the usePermissions hook, run this Skill to automatically confirm that administrators can access the 'role-management' tab, while regular teachers cannot.

Quick Start

Run the verify-permissions skill to check the integrity of the role-based access control system.

Frequently Asked Questions about verify-permissions

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

FAQPage Schema
How do I verify role-based access control configurations in a web application?

To verify role-based access control (RBAC) configurations, you can run a validation process that checks the consistency between role definitions, tab permissions, and UI component logic to ensure accurate access control enforcement.

Why does my UI still show buttons and tabs for users without the correct permissions?

UI elements may still appear if critical hooks like usePermissions and useTabPermissions are not correctly integrated into components that require access control. You must verify conditional rendering logic against your defined role permissions.

What does role-tab mapping verification check in an access control system?

Role-tab mapping verification checks if the defined permissions for different user roles accurately reflect which tabs and features are accessible. It ensures administrators can access specific tabs while regular users cannot, maintaining UI consistency.

How do I validate access control hooks after updating default tab permissions?

After updating default tab permissions in your types definitions, you can validate access control hooks by running a verification script. This automatically confirms that hooks like usePermissions correctly enforce the newly defined role restrictions across the application.

Does this RBAC validation work for checking navigation component access?

Yes, this RBAC validation specifically requires the verification of types, hooks, and navigation components. It checks that tab access and button visibility are accurately enforced based on the defined role definitions within your web application.

When do I need to run an RBAC consistency check on my web application?

You need to run an RBAC consistency check after updating default tab permissions or modifying access control hooks. This ensures that any changes to role definitions still correctly restrict unauthorized users from accessing protected features and tabs.