-
-
Notifications
You must be signed in to change notification settings - Fork 15
Description
What are you trying to do?
I recognise this is a bit of an edge case but it would be super helpful. We have a situation where users create lists, but sometimes contact customer service staff and ask them to manage the list on their behalf. I've managed to put in work arounds for retrieving and adding to someone elses list but there's not much I can do about clearing or removing items from the list. It would be great if there were some permissions, similar to entries, about edting or clearing lists that belonged to someone else. It also is sometimes an odd workflow that even an admin can't delete a wishlist from the CP. I've experienced problems with this when a list has/causes an error and getting rid of it is a very manual process in the database.
What's your proposed solution?
Add in some user permissions for editing other's lists. Then maybe modify WishList::$plugin->getLists()->isLIstOwner($list) to check if the user has permission to edit another's list. That might not be the best place to put the check but looks to me to perhaps be the quickest?
Additional context
No response