Capabilities & permissions
How rumahl authorizes what an app or service can do today — and how explicit capability namespaces will extend that model to integrations.
Current capability model
An installed app can provide capabilities. The signed manifest declares them in providedCapabilities, and consumers invoke them through the platform rather than calling another app directly.
- A capability is a validated, publisher-defined identifier.
- The provider registers a handler with rumahl.provide(capability, handler).
- The platform checks the caller, installation, current account and grant before delivery.
- Web providers receive the invocation through the bridge; always-on services receive it over the persistent channel.
- Installing an app currently grants each provided capability to every existing account. A separate end-user permission-management flow is still open work.
Declaring or providing a capability does not grant access. Permission decisions belong to the platform, and every invocation is authorized against the live identity.
Normalised integration namespaces
The integration platform will add stable namespaces so native rumahl apps can target a capability instead of a specific vendor. These names are the product direction; they are not a frozen connector API yet.
| Namespace | Intended capability |
|---|---|
| storage.* | Volumes, shares, files and snapshots across storage providers |
| home.* | Entities, rooms and scenes across smart-home providers |
| system.* | Health, version and update information |
| identity.* | Scoped accounts, consent and service identity |
Permission scopes
| Scope | Meaning |
|---|---|
| app-private | Only the owning app installation |
| user-own | Resources owned by the active account |
| user-selected | Resources the user explicitly chooses |
| explicit | A specific resource or action |
| family-shared | Resources shared within the household |
| system | Platform-wide operations, reserved for trusted components |
Least privilege
- Use the smallest scope that makes the capability work.
- Never reuse an administrator password for an integration when a scoped token is possible.
- Revoke a grant when the integration is removed or the credential is compromised.
- A pleasant shared interface must never silently grant more access than the underlying service allows.
- No transitive permissions: access to rumahl does not automatically mean access to a service.
Developer reference
The implementation details — manifest fields, the bridge protocol, runtime channels and current limits — live in the separate developer documentation.
- App packages: /developers/app-packages
- App hosting and bridge: /developers/app-hosting
- Connectors: /developers/connectors
Didn’t solve your problem? Contact us — we’re happy to help.