- Showcase Version
- SC 3.2.31 and older
- XenForo Version
- XF 2.2.x
- PHP Version
- N/A
- Database & Version
- N/A
- Are there any errors being throw?
- No
As per title, in some cases, Item Owners are not able to remove their own Items from a Community Series.
If the Item Owner is NOT the community series manager, nor a staff member with Series Moderator Permissions, they currently are not able to remove their own items.
Item Owners should always be able to remove their own items from any community series.
I've updated the canRemove() permissions check function in the SeriesPart Entity to check to see if the Item is in a community series and if the viewing user is the owner of that Item and to return TRUE if that is the case, which will in turn display the "Remove" link, allowing the Item owner to remove the Item from the series.
As you can see here, the viewing user is Mr Tester. Mr Tester is viewing a community series managed by "Admin". Mr Tester now will see the "Remove" link listed below each of his items in this community series, which allows him to self remove his own items, just like he could if he owned the series.
Note: This also includes the ability to remove an entry from a series via the Item Tools of a given Item.
If the Item Owner is NOT the community series manager, nor a staff member with Series Moderator Permissions, they currently are not able to remove their own items.
Item Owners should always be able to remove their own items from any community series.
I've updated the canRemove() permissions check function in the SeriesPart Entity to check to see if the Item is in a community series and if the viewing user is the owner of that Item and to return TRUE if that is the case, which will in turn display the "Remove" link, allowing the Item owner to remove the Item from the series.
As you can see here, the viewing user is Mr Tester. Mr Tester is viewing a community series managed by "Admin". Mr Tester now will see the "Remove" link listed below each of his items in this community series, which allows him to self remove his own items, just like he could if he owned the series.
Note: This also includes the ability to remove an entry from a series via the Item Tools of a given Item.