Skip to content

Add configuration to allow other users to edit and delete my lists #158

@franck-thorck

Description

@franck-thorck

What are you trying to do?

I have shared wishlists with other users in a team, and then they are not able to delete my sub lists or lists because I am the owner.

if (!WishList::$plugin->getLists()->isListOwner($list)) {
    throw new Exception(Craft::t('wishlist', 'You can only delete your own list.'));
}

What's your proposed solution?

Add a configuration allowManageListsByOtherUsers in wishlist.php to permit to manage (add, edit, delete) lists that you are not the owner, by default it can be set on false

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions