You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "dosubot[bot] (via GitHub)" <gi...@apache.org> on 2026/05/02 03:03:55 UTC
Re: [D] How to configure dynamic watermark with logged-in username? [superset]
GitHub user dosubot[bot] edited a comment on the discussion: How to configure dynamic watermark with logged-in username?
<!-- Greeting -->
Hi @mqqpyjh1988! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team.
<!-- Answer -->
There isn't a built-in feature, config flag, or plugin in Superset for dynamic watermarks with the logged-in username. To achieve this, you'll need to customize the frontend. The username is available in the frontend via the bootstrap data (`getBootstrapData().user.username`), so you can overlay a semi-transparent watermark in components like `ChartRenderer.jsx` or `Dashboard.jsx` by injecting a styled DOM element. This approach will display the watermark in both the UI and exported reports (PDF/PNG), since Superset's export pipeline captures the rendered UI as seen in the browser. No backend changes are required unless you want to enforce or audit the watermark at the export level. There are no existing plugins or extensions for this—custom frontend code is necessary.
[Reference](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/components/Chart/ChartRenderer.jsx)
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).*
---
Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fsuperset).
[](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fsuperset&message_id=00ea92be-6b2e-4f44-8630-03a685da3346) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fsuperset)
GitHub link: https://github.com/apache/superset/discussions/35778#discussioncomment-14746237
----
This is an automatically sent email for notifications@superset.apache.org.
To unsubscribe, please send an email to: notifications-unsubscribe@superset.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org