goravel-crud-permissions

Register CRUD permissions for a new Goravel entity in the permission system.

16|11|Updated Jun 12, 2025
One-click install
npx skills add https://github.com/liwoo/goravel-inertia-tw-starter --skill goravel-crud-permissions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: goravel-crud-permissions
Source: https://github.com/liwoo/goravel-inertia-tw-starter/tree/main/.claude/skills/goravel-crud-permissions
Command: npx skills add https://github.com/liwoo/goravel-inertia-tw-starter --skill goravel-crud-permissions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Register permissions for a new Goravel entity in the permission system. Adds service constant, display name, and actions.

Core Features & Use Cases

It updates service constants, registry listings, display names, and action sets to enable consistent access control across the application. It provides a reusable pattern for adding CRUD permissions for new entities.

Quick Start

Add a new service entry, register it in the registries, define the display name and actions, and run the permissions setup.

Frequently Asked Questions about goravel-crud-permissions

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

FAQPage Schema
How do I register CRUD permissions for a new entity in Goravel?

To register CRUD permissions for a new Goravel entity, you add a service constant, register it in the service registries, define its display name, and specify its action sets to enable consistent access control across the application.

What files does the Goravel permission registration process modify?

The Goravel permission registration process modifies app/auth/permission_constants.go, GetAllServiceRegistries, GetServiceDisplayName, and GetServiceActions to integrate the new entity into the access control system.

How do I set up RBAC for a new service in a Golang application using Goravel?

Setting up RBAC for a new service in Goravel involves updating service constants, registry listings, display names, and action sets to establish consistent authorization rules across the application.

Can I synchronize newly added Goravel entity permissions with the permissions setup workflow?

Yes, newly added Goravel entity permissions can be synchronized with the permissions:setup workflow after you update the required service constants, registry listings, display names, and action sets.

What is the best way to add access control actions for a new database model in Goravel?

The best way to add access control actions for a new database model in Goravel is to use a reusable pattern that updates service constants, registry listings, display names, and action sets for consistent CRUD authorization.