/configure-access-rights
CommunityConfigure Directum RX access rights safely
Software Engineering#authorization#access rights#directum rx#computed roles#entity metadata#crm security#module initializer
Authordunaevdmitriys-dev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It prevents access-rights misconfiguration in Directum RX by guiding you to correctly set roles, assign per-type and per-instance grants, and align AccessRightsMode in entity metadata.
Core Features & Use Cases
- Role setup with stable GUIDs: Define role identifiers once (e.g., in ModuleConstants) and create localized, idempotent roles during module initialization.
- Per-type and per-instance permission grants: Grant rights to whole entity types (DefaultAccessRightsTypes) and additionally grant rights at runtime for specific instances when required.
- Correct metadata configuration: Set AccessRightsMode in .mtd to Type, Instance, or Both so the platform enforces the expected authorization model.
- Dynamic authorization via ComputedRoles: Use computed roles to produce recipients based on entity data (e.g., experts for a contract).
- Inheritance for linked entities: Apply leading-entity inheritance using EntitySecureLinks so child objects reuse the parent’s authorization scope.
- Use Cases: onboarding modules with consistent CRM security, restricting document kinds, controlling changes on specific deals/tasks, and implementing department-based or assignment-based authorization rules.
Quick Start
Ask the AI to produce a complete ModuleInitializer + GrantRights plan for your Directum RX entity, including the role GUID strategy, the per-type grants, and the required AccessRightsMode value for your .mtd based on whether rights must be enforced on type, instance, or both.
Dependency Matrix
Required Modules
None requiredComponents
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: /configure-access-rights Download link: https://github.com/dunaevdmitriys-dev/directum-mcp-server/archive/main.zip#configure-access-rights Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.