Fixed Error message when editing user options on ACP

cimad

Member
Affected version
2.0.4 and 2.0.5
When I am logged in as admin (user 1) in the ACP, and I click on 'Actions'> 'Manage watched threads', the following message appears, and I think it is not correct, since I have all the permissions granted.

The same message appears in XenForo 2.0.4 and 2.0.5

Regards


error message.webp
 
There's a very odd permission check in the code, and I'm not sure why it's there.

It specifically bails out if the user is a super admin. Theoretically, that could be deliberate but I think a assertCanEditUser check is more appropriate.
 
Top Bottom