Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Lioncomputer Posted November 13, 2022 Posted November 13, 2022 Hi I created a custom user group and added the ability to lock and unlock own topic, but it's not working unless I active the "Can manage alerts?" access too But then there will be another issue, the users will be able to lock and unlock all topics, not just their own topics I am on latest version 4.7.3 PHP 8.1.9 MariaDB 10.6
Daniel F Posted November 13, 2022 Posted November 13, 2022 The first issue was fixed for an upcoming release and I can't reproduce the second on my installation. Are you seeing this on your community?
Lioncomputer Posted November 14, 2022 Author Posted November 14, 2022 Thank you, Yup, I have the second issue too. All the users in that particular user group by enabling "Can manage alerts?" can lock and unlock all topics even from other users
Jim M Posted November 14, 2022 Posted November 14, 2022 1 hour ago, Mohsen Parhizkar said: All the users in that particular user group by enabling "Can manage alerts?" can lock and unlock all topics even from other users Are you providing them a moderator ability to unlock/lock topics in ACP -> Members -> Staff -> Moderators? If so, this is for all content, not just their own.
Lioncomputer Posted November 15, 2022 Author Posted November 15, 2022 (edited) I attached the screenshot of the settings of the same user group with this setting, the users will be able to lock and unlock all topics, not just their own and if I disable the "Can manage alerts?", they can't do that for any topic Group Menu Settings Moderator Menu Settings Edited November 15, 2022 by Mohsen Parhizkar
Solution Marc Posted November 15, 2022 Solution Posted November 15, 2022 I would need to know which group this is to take a look, but please also check on the forums tab on moderator settings first of all SeNioR- 1
Nathan Explosion Posted November 15, 2022 Posted November 15, 2022 (edited) This is easy to reproduce, Marc. Modify the 'Members' group, enable the 'Can lock and unlock own content?' permission. Login as a member and create a topic Once created, click 'Moderator Actions' -> 'Lock' Result - click 'Save' has no effect on the topic Workaround: Make the member a restricted moderator, with only the 'Can manage alerts?' permission Try to lock the topic again. Result - clicking save now locks the topic. Edited November 15, 2022 by Nathan Explosion SeNioR- 1
Daniel F Posted November 15, 2022 Posted November 15, 2022 11 minutes ago, Nathan Explosion said: This is easy to reproduce, Marc. Modify the 'Members' group, enable the 'Can lock and unlock own content?' permission. Login as a member and create a topic Once created, click 'Moderator Actions' -> 'Lock' Result - click 'Save' has no effect on the topic Workaround: Make the member a restricted moderator, with only the 'Can manage alerts?' permission Try to lock the topic again. Result: That's known and fixed for an upcoming release, the issue is that we can't reproduce the second issue with being able to lock all topics and not only the own. SeNioR- 1
Lioncomputer Posted November 15, 2022 Author Posted November 15, 2022 53 minutes ago, Marc Stridgen said: I would need to know which group this is to take a look, but please also check on the forums tab on moderator settings first of all This isn't one of the defaults user groups, I made a custom user group I didn't have any idea that there are some access settings in that tab too, the cause of the problem was exactly on the forums tab, the "Can lock topics/questions?" and "Can Unlock topics/questions?" had been enabled, I think the logic of this kind of setting, isn't correct, when we disabled the lock and unlock the topic ability, why in the forums tab, we should have same settings?
Marc Posted November 15, 2022 Posted November 15, 2022 This is intentional. You were looking on the global tab for that setting. If you deselect, it then allows you to be able to set it for indivual applications and forums.
Lioncomputer Posted November 15, 2022 Author Posted November 15, 2022 1 minute ago, Marc Stridgen said: This is intentional. You were looking on the global tab for that setting. If you deselect, it then allows you to be able to set it for indivual applications and forums. Oh, if that is the case, then it's logical thank you
Marc Posted November 15, 2022 Posted November 15, 2022 No problem at all. Glad we got there in the end Lioncomputer 1
Recommended Posts