Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Expose an endpoint for user deletion #1333

Merged
merged 2 commits into from
Feb 7, 2019

Conversation

Wardormeur
Copy link
Contributor

Connect to multiple new backends (users & clubs)
Expose the cdf display for deletion of users through angular redirection to vueJs

Connect to multiple new backends (users & clubs)
Expose the cdf display for deletion of users through angular redirection to vueJs
validate: {
params: {
userId: Joi.string().guid().required(),
soft: Joi.boolean(),
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't soft and cascade be under query instead of params?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

payload even. Oof.
Good catch

/users is now returning a collection instead of a single resource
Fix an issue where perms were applied to the query instead of the payload
@Wardormeur Wardormeur merged commit 38c2246 into CoderDojo:master Feb 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants