Roles & Permissions
Assign roles and define permissions for tenants, workspaces, and environments
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:
tenantgrants access to tenant information, members, roles, billing, and configuration.workspacesupplies the default permissions for every workspace.environmentsupplies 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
| Scenario | How to Configure |
|---|---|
| Full access to everything | Global scope - set all permissions at tenant, workspace, and environment level |
| Full access to one workspace only | Per-workspace override with full permissions. No default workspace permissions |
| Deploy to Production, view Staging | Per-workspace override with per-environment overrides: deployment:manage on Production, deployment:read on Staging |
| Billing only, no infrastructure access | Tenant-level billing:manage and subscription:manage. No workspace or environment permissions |
| Read-only across all workspaces | Global scope with read permissions at every level |
Tenant Permissions
Tenant permissions apply across the tenant's workspaces and environments:
| Permission | Read | Manage |
|---|---|---|
| info | View tenant information | Update tenant information |
| audit | View audit logs | - |
| settings | View tenant settings | Update tenant settings |
| role | View roles | Create, update, and delete roles |
| member | View members | Invite, update, and remove members |
| subscription | View subscription plan | Change subscription plan |
| billing | View billing and payment | Update billing and payment |
| workspace | View workspaces | Create, update, and delete workspaces |
| api_key | View API keys | Create and delete API keys |
| notifications | View notification channels | Create, update, and delete notification channels |
Workspace Permissions
Global workspace grants apply to every workspace. A workspace-specific grant applies only to the named workspace.
| Permission | Read | Manage |
|---|---|---|
| info | View workspace information | Update workspace information |
| audit | View workspace audit logs | - |
| settings | View workspace settings | Update workspace settings |
| role | View workspace roles | Create, update, and delete workspace roles |
| member | View workspace members | Invite, update, and remove workspace members |
| environment | View environments | Create, update, and delete environments |
| api_key | View workspace API keys | Create and delete workspace-scoped API keys |
| notifications | View workspace notification channels | Create, 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.
| Permission | Read | Manage |
|---|---|---|
| info | View environment information | Update environment information |
| deployment | View deployments | Create, update, and delete deployments. Together with deployment:credentials:read, also read the root login and rotate either login |
| deployment:config | View deployment configuration | Modify configuration, create versions, activate |
| deployment:access | View access rules | Create, update, and delete access rules |
| deployment:network | View VPC peering and PrivateLink | Create and manage network connections |
| deployment:task | View deployment tasks | Execute deployment tasks |
| deployment:telemetry | View monitoring data | Configure telemetry retention |
| deployment:credentials | View the deployment admin login ld-admin and its connection string | - |
| deployment:connectors | View connectors | Manage connector instances and configurations |
| deployment:activity | View 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.
| Role | Tenant Permissions | Workspace Permissions | Environment Permissions |
|---|---|---|---|
admin | All | All | All |
developer | info:read, member:read, role:read, workspace:read, api_key:read, notifications:read | info:read, environment:read, api_key:read | deployment:manage, deployment:config:manage, deployment:network:manage, deployment:task:manage, deployment:connectors:read + :manage, deployment:credentials:read, deployment:telemetry:read, deployment:activity:read |
viewer | info:read, role:read, member:read, workspace:read | info:read, environment:read, role:read, member:read (no settings, no api_key, no notifications) | info:read, deployment:read |
billing | info:read, subscription:read/manage, billing:read/manage | None | None |
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 action | Permission |
|---|---|
| Open Streams or Stream UI | deployment:read |
| Open the deployment Backends configuration | deployment:config:manage |
| Read the deployment admin login | deployment:credentials:read |
| Read the root login, rotate a login | deployment:credentials:read and deployment:manage |
| Change network access rules | deployment:access:manage |
| Delete the deployment | deployment: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
- Open the tenant's Roles page.
- Click Create Role.
- Enter a role name.
- Set tenant permissions, which always apply globally.
- Set default workspace permissions.
- Set default environment permissions.
- If a workspace needs different grants, select it and set its workspace and environment defaults.
- If an environment needs different grants, add its override within that workspace.
- 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
| Resource | Standard | Performance | Enterprise |
|---|---|---|---|
| Custom roles | 2 | 20 | 100 |
| Members | 10 | 100 | 1000 |
| Invitations | 10 | 100 | 1000 |
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"