{"templateId":"openapi_docs","sharedDataIds":{"openAPIDocsStore":"oas-openapi.yaml","sidebar":"sidebar-sidebars.yaml"},"props":{"definitionId":"openapi.yaml","dynamicMarkdocComponents":[],"baseSlug":"/openapi","seo":{"title":"RBAC","description":"\n        Endpoints for retrieving Role-Based Access Control (RBAC) configurations and managing roles,\n        resources, permissions and role-to-user assignments.\n         Scoped Role Definition (`RBACRole`):\n         - Represents roles within the RBAC system.\n         - Each role has a unique `roleId`, a `name`, an optional `description`, and a `scope`.\n         - The `scope` defines the domain or area in which the role is valid.\n         - The `scope` can be Global (hardcoded), currently the only one is \"global\"\n         - The `scope` also can be dynamic, currently we use Group Ids, like \"gr_05hxcvk1hjexere4pvtrj0hggt\"\n         - Roles come with assigned permissions (`RBACPermissions`) that define what actions the role can perform on system resources.\n         - Metadata such as `createdAt` and `updatedAt` timestamps track the role's lifecycle events.\n\n         Permissions (`RBACPermissions`):\n         - Encapsulates resource-specific access controls.\n         - Each permission object specifies the `resource` (e.g., \"user\", \"document\") and an associated list of allowed `RBACAccess` types.\n         - `RBACAccess` enumerates the supported actions: `Read`, `Add`, `Modify`, `Delete`.\n\n         Role Assignments to Actors (`RBACActorRole`):\n         - Maps actors (e.g., users, services) to specific roles.\n         - Tracks the association through `actorId` (representing the unique entity being assigned) and `roleId` (specific role ID).\n         - Includes timestamps to record when the assignment was created or updated.\n    "},"itemId":"rbac","disableAutoScroll":true,"metadata":{"subType":"openapi-operation"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"apidocs.welley.social","port":4000,"ipAddress":"216.73.217.128"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"main"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/openapi/rbac","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}