ddd-rights-specialist

Community

Master entity-level access control in DDD.

Authormgamadeus
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Implement entity-level access control in the mgamadeus/ddd framework to enforce read/update/delete restrictions, property hiding, and role-based governance across DB repositories.

Core Features & Use Cases

  • Support for applyReadRightsQuery, applyUpdateRightsQuery, applyDeleteRightsQuery, and mapToEntity to filter data during load and secure updates, with role-driven controls.
  • Pattern coverage across direct column filters, left-join based rights, subqueries, and multi-hop join chains to model tenant/world/account scoping.
  • Includes RolesRequiredForUpdate on entities and rights snapshots for privileged system operations.

Quick Start

Override the rights methods in your DB repositories and validate end-to-end rights behavior with a test account.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ddd-rights-specialist
Download link: https://github.com/mgamadeus/ddd/archive/main.zip#ddd-rights-specialist

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.