LaserData Cloud
Organization

Roles & Permissions

Assign roles and define permissions for tenants, workspaces, and environments

View as Markdownllms.txt

Role-based access control (RBAC) determines what a member can read and manage. A role contains permissions and the resources to which they apply. Members with multiple roles receive their combined permissions.

Permission Hierarchy

Permissions follow the organization hierarchy: Tenant, Workspace, and Environment. Each level has its own permissions. Scope determines which resources receive those permissions.

The Senior Developer example grants deployment management in Staging and read-only access in Production. It also grants only read access in Data Engineering. One role expresses these differences through workspace and environment overrides.

How Scoping Works

A role defines defaults for the whole tenant and overrides for selected resources. An override replaces that role's default at its scope. Permissions from separate roles still combine.

Global Scope

Three fields provide tenant-wide defaults:

  • tenant grants access to tenant information, members, roles, billing, and configuration.
  • workspace supplies the default permissions for every workspace.
  • environment supplies the default permissions for every environment in every workspace.

For example, grant deployment:read in global environment to permit reading across all environments. A role with full grants at all three levels can manage the whole tenant.

Per-Workspace Scope

A workspace override replaces the role's defaults for that workspace. Other workspaces retain the global defaults. For example, grant full access in Platform Engineering and read-only access in Data Engineering.

Per-Environment Scope (within a Workspace)

A workspace override can contain defaults for its environments and overrides for individual environments. An overridden environment uses its specific grants. Other environments in that workspace use the workspace's environment defaults. For example, permit deployment management in Production and only reading in Staging.

Scoping Examples

ScenarioHow to Configure
Full access to everythingGlobal scope - set all permissions at tenant, workspace, and environment level
Full access to one workspace onlyPer-workspace override with full permissions. No default workspace permissions
Deploy to Production, view StagingPer-workspace override with per-environment overrides: deployment:manage on Production, deployment:read on Staging
Billing only, no infrastructure accessTenant-level billing:manage and subscription:manage. No workspace or environment permissions
Read-only across all workspacesGlobal scope with read permissions at every level

Tenant Permissions

Tenant permissions apply across the tenant's workspaces and environments:

PermissionReadManage
infoView tenant informationUpdate tenant information
auditView audit logs-
settingsView tenant settingsUpdate tenant settings
roleView rolesCreate, update, and delete roles
memberView membersInvite, update, and remove members
subscriptionView subscription planChange subscription plan
billingView billing and paymentUpdate billing and payment
workspaceView workspacesCreate, update, and delete workspaces
api_keyView API keysCreate and delete API keys
notificationsView notification channelsCreate, update, and delete notification channels

Workspace Permissions

Global workspace grants apply to every workspace. A workspace-specific grant applies only to the named workspace.

PermissionReadManage
infoView workspace informationUpdate workspace information
auditView workspace audit logs-
settingsView workspace settingsUpdate workspace settings
roleView workspace rolesCreate, update, and delete workspace roles
memberView workspace membersInvite, update, and remove workspace members
environmentView environmentsCreate, update, and delete environments
api_keyView workspace API keysCreate and delete workspace-scoped API keys
notificationsView workspace notification channelsCreate, update, and delete workspace notification channels

Environment Permissions

Environment grants control deployments and their services. They can apply globally, to every environment in one workspace, or to one environment.

PermissionReadManage
infoView environment informationUpdate environment information
deploymentView deploymentsCreate, update, and delete deployments. Together with deployment:credentials:read, also read the root login and rotate either login
deployment:configView deployment configurationModify configuration, create versions, activate
deployment:accessView access rulesCreate, update, and delete access rules
deployment:networkView VPC peering and PrivateLinkCreate and manage network connections
deployment:taskView deployment tasksExecute deployment tasks
deployment:telemetryView monitoring dataConfigure telemetry retention
deployment:credentialsView the deployment admin login ld-admin and its connection string-
deployment:connectorsView connectorsManage connector instances and configurations
deployment:activityView deployment activity: changes to streams, topics, consumer groups, Iggy users, and tokens inside deployments-

Every permission has read and manage variants unless the table shows -. Manage includes read. Tenant audit:read also reads the deployment activity of every environment.

deployment:credentials:read returns the login of ld-admin, the deployment admin, which has full data rights on the streaming server and no user or server administration. The root login of the streaming server needs deployment:manage as well, and so does rotating either login. deployment:manage alone returns no credentials. Every credentials read is written to the audit log.

Built-in System Roles

Every tenant includes four system roles. They cannot be deleted. Copy and customize them through Custom Roles.

RoleTenant PermissionsWorkspace PermissionsEnvironment Permissions
adminAllAllAll
developerinfo:read, member:read, role:read, workspace:read, api_key:read, notifications:readinfo:read, environment:read, api_key:readdeployment:manage, deployment:config:manage, deployment:network:manage, deployment:task:manage, deployment:connectors:read + :manage, deployment:credentials:read, deployment:telemetry:read, deployment:activity:read
viewerinfo:read, role:read, member:read, workspace:readinfo:read, environment:read, role:read, member:read (no settings, no api_key, no notifications)info:read, deployment:read
billinginfo:read, subscription:read/manage, billing:read/manageNoneNone

The admin and developer roles hold deployment:manage and deployment:credentials:read, so their members and keys read the root login as well as ld-admin. A key for an application or an agent needs deployment:read and deployment:credentials:read only, which returns the ld-admin login.

System roles populate global environment by default. When a workspace is created, the platform also creates their per-workspace environment grants. Members therefore retain access in the new workspace without manual changes.

The tenant owner is the user who founded the tenant. Ownership is stored on the tenant, separately from roles. The owner can disable protection and delete the tenant regardless of their assigned role.

Access Denied After Creating a Deployment

Cloud permissions, Iggy users, and managed-data grants are separate. An Admin label in account Settings is not the same field as an organization role. Iggy credentials do not grant permission to a Console page.

The relevant Cloud permissions belong to the environment that contains the deployment:

Console actionPermission
Open Streams or Stream UIdeployment:read
Open the deployment Backends configurationdeployment:config:manage
Read the deployment admin logindeployment:credentials:read
Read the root login, rotate a logindeployment:credentials:read and deployment:manage
Change network access rulesdeployment:access:manage
Delete the deploymentdeployment:manage

The built-in organization admin role includes these permissions. A newly created organization's founder receives that role. In Roles, inspect the Environment permissions and any workspace or environment overrides. Permission labels shown as words in the Console map to the API names above.

If you are the owner and only administrator, an access denial is not resolved by asking a nonexistent second administrator. Reload the Console and sign in again to obtain a fresh session. If the denial remains, contact LaserData with the organization, environment, deployment ID, timestamp, and correlation ID if available. Do not provide passwords, tokens, or API keys.

An access rule controls network reachability and cannot fix a Cloud permission denial. A higher organization plan or paid deployment is not a remedy for an incorrect role assignment.

Custom Roles

From the Console

  1. Open the tenant's Roles page.
  2. Click Create Role.
  3. Enter a role name.
  4. Set tenant permissions, which always apply globally.
  5. Set default workspace permissions.
  6. Set default environment permissions.
  7. If a workspace needs different grants, select it and set its workspace and environment defaults.
  8. If an environment needs different grants, add its override within that workspace.
  9. Save the role.

Assigning Roles

Assign roles in an invitation or after a member joins. Members can hold multiple roles. Changes apply on their next request.

Nobody hands out more authority than they hold. To create a role, change a role's permissions, assign a role to a member, invite someone with a role, or create an API key with a role, you must hold every permission of that role yourself in the same scope: organization, workspace, or environment. Manage includes read. Otherwise the request answers 403 with insufficient_permissions. A member can keep a role above yours while you add or remove other roles.

Plan Limits

ResourceStandardPerformanceEnterprise
Custom roles220100
Members101001000
Invitations101001000

API Reference

Get Role Details

curl https://api.laserdata.cloud/tenants/{tenant_id}/roles/{role_id} \
  -H "ld-api-key: YOUR_API_KEY"

The response contains the role's permissions and scope overrides.

Get Role Members

curl "https://api.laserdata.cloud/tenants/{tenant_id}/roles/{role_id}/members?page=1&results=10" \
  -H "ld-api-key: YOUR_API_KEY"

Invite a Member

curl -X POST https://api.laserdata.cloud/tenants/{tenant_id}/invitations \
  -H "ld-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "user@example.com",
    "roles": [123]
  }'

List Members

curl "https://api.laserdata.cloud/tenants/{tenant_id}/members?page=1&results=10" \
  -H "ld-api-key: YOUR_API_KEY"
{
  "items": [
    {
      "id": 1,
      "email": "user@example.com",
      "name": "Jane Smith",
      "active": true,
      "roles": ["admin"],
      "created_at": "2025-01-15T10:30:00Z"
    }
  ],
  "page": 1,
  "total_results": 1,
  "total_pages": 1
}

Update a Member

curl -X PUT https://api.laserdata.cloud/tenants/{tenant_id}/members/{member_id} \
  -H "ld-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "active": true,
    "roles": [123, 456]
  }'

Remove a Member

curl -X DELETE https://api.laserdata.cloud/tenants/{tenant_id}/members/{member_id} \
  -H "ld-api-key: YOUR_API_KEY"

Create a Custom Role

curl -X POST https://api.laserdata.cloud/tenants/{tenant_id}/roles \
  -H "ld-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "developer",
    "permissions": {
      "tenant": ["info:read", "member:read", "workspace:read"],
      "workspace": ["environment:read", "environment:manage"],
      "workspaces": {
        "1": {
          "permissions": ["environment:read"],
          "environment": ["deployment:read", "deployment:manage"],
          "environments": {
            "2": ["deployment:read", "deployment:manage", "deployment:telemetry:read"]
          }
        }
      }
    }
  }'

List Roles

curl "https://api.laserdata.cloud/tenants/{tenant_id}/roles?page=1&results=10" \
  -H "ld-api-key: YOUR_API_KEY"
{
  "items": [
    {
      "id": 1,
      "name": "admin",
      "kind": "system"
    },
    {
      "id": 2,
      "name": "developer",
      "kind": "custom"
    }
  ],
  "page": 1,
  "total_results": 2,
  "total_pages": 1
}

Assign Members to a Role

curl -X PUT https://api.laserdata.cloud/tenants/{tenant_id}/roles/{role_id}/members/assign \
  -H "ld-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "members": [1, 2, 3]
  }'

Revoke Members from a Role

curl -X PUT https://api.laserdata.cloud/tenants/{tenant_id}/roles/{role_id}/members/revoke \
  -H "ld-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "members": [1]
  }'

Delete a Role

curl -X DELETE https://api.laserdata.cloud/tenants/{tenant_id}/roles/{role_id} \
  -H "ld-api-key: YOUR_API_KEY"

List Invitations

curl "https://api.laserdata.cloud/tenants/{tenant_id}/invitations?page=1&results=10" \
  -H "ld-api-key: YOUR_API_KEY"

Delete an Invitation

curl -X DELETE https://api.laserdata.cloud/tenants/{tenant_id}/invitations/{invitation_id} \
  -H "ld-api-key: YOUR_API_KEY"

On this page