Sometimes the value of the "data-action" attribute isn't changed to "backup" when the first menu element is cloned and called "Copy to Sharing Cart".
This means the backup action doesn't work as expected. Both the dublicate and the backup action is called when the new cloned menu item (Copy to Sharing Cart) is clicked and that results in a "nopermission" popup. See screenshot:
Sometimes the value of the "data-action" attribute isn't changed to "backup" when the first menu element is cloned and called "Copy to Sharing Cart".
This means the backup action doesn't work as expected. Both the dublicate and the backup action is called when the new cloned menu item (Copy to Sharing Cart) is clicked and that results in a "nopermission" popup. See screenshot:
Unfortunately I can't say exactly how to reproduce this bug but this pull request fixes the bug: https://github.com/donhinkelman/moodle-block_sharing_cart/pull/7