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

feat(api): read only #2499

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

feat(api): read only #2499

wants to merge 4 commits into from

Conversation

shahargl
Copy link
Member

close #2498

Copy link

vercel bot commented Nov 15, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
keep ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 17, 2024 8:25am

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. API API related issues Feature A new feature labels Nov 15, 2024
@talboren
Copy link
Member

1 thing we'll need to consider: how can we let someone "bypass" read only, i.e., the simulate_alert script or something

@shahargl
Copy link
Member Author

@talboren added KEEP_READ_ONLY_BYPASS_KEY that, together with KEEP_DEFAULT_API_KEYS can do it.

Start Keep with

KEEP_READ_ONLY_BYPASS_KEY=1234
KEEP_DEFAULT_API_KEYS=admin_api_key:admin:1234

Copy link
Member

@talboren talboren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API API related issues Feature A new feature lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[➕ Feature]: Read Only mode
2 participants