Skip to content
This repository was archived by the owner on Mar 16, 2026. It is now read-only.

Add requesting user to remove hook#4521

Open
eibbors wants to merge 3 commits into
keystonejs:masterfrom
eibbors:master
Open

Add requesting user to remove hook#4521
eibbors wants to merge 3 commits into
keystonejs:masterfrom
eibbors:master

Conversation

@eibbors
Copy link
Copy Markdown

@eibbors eibbors commented Nov 27, 2017

Description of changes

Simply adds the requesting user to remove hooks. We have a basic permissions system setup that needed to be able to block certain users from deleting certain lists.

I also put in a quick fix to an issue we were encountering exporting CloudinaryImages columns via CSV.

Related issues (if any)

4522

Testing

  • [x ] Please confirm npm run test-all ran successfully.

Adds the request user to the remove hook as _req_user, like it does for update etc.
Initializes the options object regardless of whether cloudinary secure is set.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants