• REGISTRATION REQUIREMENTS:

    Your username here MUST MATCH your XenForo username (connected to your XF license).

    Once you have registered here, then you need to start a conversation at xenforo.com w/Bob and provide the following:
    1. Your XenForo License Validation Token
    2. The Domain Name associated with the License
    NOTE: Your account will be validated once ALL requirements are verified/met. Thank you for your patience.

Fixed Item Owners Not Able To Remove Their Own Items From a Community Series in some cases

Bob

Developer
Staff member
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.

Selection_137.png
 
Back
Top