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

build: hotfix v5.14.1 - allow read key in permissionList when updating collaborators #2178

Merged
merged 2 commits into from
Jun 15, 2021

Conversation

karrui
Copy link
Contributor

@karrui karrui commented Jun 15, 2021

Problem

The update collaborators endpoint fails on very old forms due to a deprecated schema key form.permissionList.read that has not been removed, and Joi validation is preventing.

This PR adds the old key as an allowed key in the Joi validator.

Solution

  • fix: allow read key in permissionList when updating collaborators

@karrui karrui requested a review from mantariksh June 15, 2021 10:00
@mantariksh mantariksh changed the base branch from release-v5.14.0 to release June 15, 2021 10:03
@mantariksh mantariksh merged commit d09daca into release Jun 15, 2021
@karrui karrui deleted the fix/allow-read-key-in-permission-list branch August 17, 2021 02:46
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