Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read-only kiosk mode for viewers #1586

Merged
merged 5 commits into from
Feb 7, 2025
Merged

Read-only kiosk mode for viewers #1586

merged 5 commits into from
Feb 7, 2025

Conversation

gantoine
Copy link
Member

@gantoine gantoine commented Feb 6, 2025

Description

This PR add a new env var KIOSK_MODE, which when set to true will disable all editing for VIEWER roles. Options in the UI will be disabled/hidden, and the scopes on the backend are restricted to read-only ones. Login and setup screens will also be bypassed when accessing any authenticated page directly.

Checklist

Please check all that apply.

  • I've tested the changes locally
  • I've updated the wiki accordingly
  • I've have updated relevant comments
  • I've assigned reviewers for this PR
  • I've added unit tests that cover the changes
  • All existing tests are passing

Copy link

github-actions bot commented Feb 6, 2025

Test Results

93 tests   93 ✅  26s ⏱️
 1 suites   0 💤
 1 files     0 ❌

Results for commit 2cd3c95.

♻️ This comment has been updated with latest results.

@gantoine gantoine requested a review from zurdi15 February 7, 2025 14:11
@gantoine gantoine merged commit c27eca2 into master Feb 7, 2025
9 checks passed
@gantoine gantoine deleted the kiosk-mode branch February 7, 2025 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants