Major Flaw in the tutorial "allow-only-administrators-to-delete-a-topic"

Go down

Major Flaw in the tutorial "allow-only-administrators-to-delete-a-topic"

Post by masesm on March 14th 2018, 11:43 pm

I would like to mention that the tutorial not allow moderators to post has a major flaw. The moderator can simply disable javascript (or that part of the code using browser plugins) to proceed to delete posts. Such permissions should be handled internally through PHP and not javascript. Either that, or it can be paired with a method to not allow users to visit the website without enabling javascript. Cheers.

Link to the tutorial: https://help.forumotion.com/t155267-allow-only-administrators-to-delete-a-topic#1067499
avatar
masesm
Forumember

Male Posts : 75
Reputation : 7
Language : Java, C++, C#, Python, JavaScript, PHP, MySQL, AWS
Location : United States

http://sicktier.forumotion.com/

Back to top Go down

Re: Major Flaw in the tutorial "allow-only-administrators-to-delete-a-topic"

Post by Luffy on March 15th 2018, 12:44 am

@masesm wrote:I would like to mention that the tutorial not allow moderators to post has a major flaw. The moderator can simply disable javascript (or that part of the code using browser plugins) to proceed to delete posts. Such permissions should be handled internally through PHP and not javascript. Either that, or it can be paired with a method to not allow users to visit the website without enabling javascript. Cheers.

Link to the tutorial: https://help.forumotion.com/t155267-allow-only-administrators-to-delete-a-topic#1067499
Hello @masesm,

This tutorial was created for those who simply want this function to work for their moderators. If a member joins the forum and disables the javascripts then it's the Administration's decision whether that member is capable to have Moderation powers to that forum. Since we have no access to PHP this was the best way I could help those members who needed something similar to that. And lastly, if they disable the scripts using those browser plugins then all javascripts are useless. Wink

Sincerely,
Luffy.
avatar
Luffy
Manager
Manager

Male Posts : 5635
Reputation : 628
Language : Greek, English
Location : Cyprus, Greece

https://help.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum