plutonium-portal

Build secure Rails portals with Rodauth authentication and entity scoping.

68|10|Updated Jan 10, 2024
One-click install
npx skills add https://github.com/radioactive-labs/plutonium-core --skill plutonium-portal
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plutonium-portal
Source: https://github.com/radioactive-labs/plutonium-core/tree/main/.claude/skills/plutonium-portal
Command: npx skills add https://github.com/radioactive-labs/plutonium-core --skill plutonium-portal

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps developers rapidly assemble multi-tenant Rails portals with built-in authentication, scoped routing, and engine-based interfaces, reducing boilerplate and improving security.

Core Features & Use Cases

  • Portal engine for modular Rails interfaces
  • Integrated authentication via Rodauth
  • Entity scoping for multi-tenant data isolation
  • Flexible route mounting and resource registration
  • Portal-specific overrides for policies, definitions, and controllers
  • Generator commands to scaffold portals and their components

Quick Start

Generate a new portal package with rails g pu:pkg:portal dashboard and wire it into your host Rails app to expose a scoped, authenticated interface.

Frequently Asked Questions about plutonium-portal

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

FAQPage Schema
How do I build a multi-tenant Rails portal with authentication and scoped routing?

Secure multi-tenant Rails portals by generating a portal engine package, integrating Rodauth for authentication, and mounting scoped routes to isolate entity data. This reduces boilerplate and manages access control across tenant contexts.

What is entity scoping in a Rails engine portal?

Entity scoping in a Rails engine portal isolates multi-tenant data so each tenant only accesses their own records. The portal engine applies scoped routing and policy definitions to enforce this data isolation automatically.

How do I generate and mount a Rails portal engine in my host app?

Generate a Rails portal engine using the `rails g pu:pkg:portal dashboard` command, then wire the generated package into your host application to expose a scoped, authenticated interface with flexible route mounting.

Can I use Rodauth for authentication in a Rails engine portal?

Yes, Rodauth is the integrated authentication mechanism for the Rails portal engine. It provides built-in access control and secure login interfaces, reducing the need to wire external authentication libraries into your multi-tenant dashboard.

How do I customize policies and controllers for a specific Rails portal?

Customize Rails portal policies and controllers using portal-specific overrides provided by the engine. This allows you to tailor access control definitions and controller behavior for individual admin dashboards or public interfaces.

When should I use a Rails engine for multi-tenant admin dashboards and portals?

Use a Rails engine for multi-tenant admin dashboards when you need modular interfaces with built-in authentication, entity scoping, and flexible resource registration. It reduces boilerplate and improves security across isolated tenant data contexts.