User features
Embed users can create their own scheduled reports, alerts, bookmarks and personal canvases. Enable each with a feature flag in rill.yaml, and pass an external_user_id in the iframe request: everything a user creates is owned by that ID and hidden from other users. Report and alert emails link to the open page configured in embeds.open_url. See the embedding docs for details.
Create something as one user, then switch to the other to see that it isn't listed there.
Select user
If set, passed as user_email and used as the default report and alert recipient.
rill.yaml
features: # Disabled in embeds by default reports: true alerts: true embedded_bookmarks: true personal_canvases: true # Page that opens the "Open" link in report and alert emails embeds: open_url: https://rill-embedding-example.netlify.app/customization/user-features/open
Source: embedding/rill-project/rill.yaml
Iframe request
POST https://api.rilldata.com/v1/orgs/demo/projects/rill-embedding/iframe
Authorization: Bearer <RILL_SERVICE_TOKEN>
Content-Type: application/json
{
"navigation": true,
"external_user_id": "user-alice-123"
}Source: embedding/web/src/app/customization/user-features/page.tsx
Loading...