lutece-rbac

Enforce RBAC controls for Lutece 8 plugins with ResourceIdService and JSP checks.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/vanhemsj/lutecepowers --skill lutece-rbac
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lutece-rbac
Source: https://github.com/vanhemsj/lutecepowers/tree/main/skills/lutece-rbac
Command: npx skills add https://github.com/vanhemsj/lutecepowers --skill lutece-rbac

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

RBAC integration for Lutece 8 plugins to control access to resources, ensuring only authorized users can perform actions on entities and admin interfaces.

Core Features & Use Cases

  • Implement RBACResource on entities to define resource type
  • Create a dedicated ResourceIdService to register permissions and resource types
  • Declare the RBAC resource in plugin.xml so the framework recognizes it
  • Provide i18n labels for permissions and resource types
  • Enforce authorization checks in JSP beans and templates to gate UI actions

Quick Start

Implement a dedicated RBAC setup for your Lutece 8 plugin by creating an RBACResource, a ResourceIdService, declaring the RBAC resource in plugin.xml, and wiring authorization checks in your JSP beans.

Frequently Asked Questions about lutece-rbac

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

FAQPage Schema
How do I enforce RBAC permissions for Lutece 8 plugin resources?

To enforce RBAC permissions in Lutece 8, implement an RBACResource interface on your entities, create a dedicated ResourceIdService to register resource types, and declare the RBAC setup in plugin.xml for framework recognition.

How do I configure JSP-level authorization checks in a Lutece 8 plugin?

JSP-level authorization checks are configured by wiring permission validations directly into your JSP beans and templates, ensuring only authorized users can execute UI actions on specific entities and admin interfaces.

What is a ResourceIdService used for in Lutece 8 RBAC?

A ResourceIdService in Lutece 8 RBAC is a dedicated service used to register specific permissions and resource types, enabling fine-grained, per-resource access control for your plugin entities.

Do I need to declare RBAC resources in plugin.xml for Lutece 8?

Yes, declaring the RBAC resource in plugin.xml is required so the Lutece 8 framework recognizes your custom resource types and permission definitions for entity-based access control.

Can I add i18n labels for Lutece 8 plugin authorization permissions?

Yes, you can provide i18n labels for your RBAC permissions and resource types in Lutece 8 to ensure localized authorization descriptions are displayed correctly across admin interfaces.