The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

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

2 posters

Go down

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

Post by masesm March 15th 2018, 12:43 am

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
masesm
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

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

Post by TheCrow March 15th 2018, 1: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.
TheCrow
TheCrow
Manager
Manager

Male Posts : 6913
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Back to top

- Similar topics

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