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

Add DisableWriteMiddleware middleware for ui-server #1800

Merged
merged 23 commits into from
Jan 17, 2024

Conversation

Alex-Tideman
Copy link
Contributor

@Alex-Tideman Alex-Tideman commented Jan 16, 2024

Description & motivation 💭

Allow only GET method on all routes if DisableWriteActions is true in settings config

Screenshots (if applicable) 📸

Screen Shot 2024-01-16 at 1 09 44 PM Screen Shot 2024-01-16 at 12 43 13 PM

Design Considerations 🎨

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

Docs

Any docs updates needed?

@Alex-Tideman Alex-Tideman requested a review from a team as a code owner January 16, 2024 18:45
@Alex-Tideman Alex-Tideman requested review from KATIETOLER and stevekinney and removed request for a team January 16, 2024 18:45
Copy link

vercel bot commented Jan 16, 2024

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

Name Status Preview Comments Updated (UTC)
holocene ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 17, 2024 7:29pm

@Alex-Tideman Alex-Tideman requested review from rossedfort and removed request for KATIETOLER January 16, 2024 18:48
@Alex-Tideman
Copy link
Contributor Author

Gonna add some tests here too

This reverts commit 3e42675.
@Alex-Tideman Alex-Tideman merged commit 7b914a2 into main Jan 17, 2024
11 checks passed
@Alex-Tideman Alex-Tideman deleted the disable-write-actions branch January 17, 2024 19:43
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