YAFLogo

Jacobson
  • Jacobson
  • 57.2% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
Hey...first of all three cheers for the creators of this forum...great work..

One thing thats annoying me in my forum(1.9.1.8 ) is that when i set a particular moderator for a forum,that gives him the option to add another moderator with even admin access privilage.I dont want this to happen..I tried to uncheck the moderate access in access masks but that prevents the moderator from moving or deleting any topics..Can anyone suggest a method by which i can prevent my moderators from adding other moderators and dealing with the access masks..

Thanks & regards..
Sponsor

Jacobson
  • Jacobson
  • 57.2% (Neutral)
  • YAF Forumling Topic Starter
14 years ago
anyone?...really need a suggestion with this..
Ederon
  • Ederon
  • 100% (Exalted)
  • YAF Developer
14 years ago
This will have to be addressed in working copy yet, but generally speaking, any user (moderator) who's not an admin should not be able to assign access mask that has higher privileges then his own (minus moderate permission). I've done this on my forum and you reminded me to port it to 1.9.3.

If you want to change it in earlier version then 1.9.3, you'll have to rewrite some portions of code. I don't have the time to dig it right now, but in case you want to do it yourself, write me a PM (PM so I don't forget...) and I'll find some time to post needed code here.
When I post FP:Ederon in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting.
Ederon
  • Ederon
  • 100% (Exalted)
  • YAF Developer
14 years ago
This was implemented in most recent 1.9.3. So only admins can give moderation access mask to users.

If you want to implement it in older versions, take a look at 1.9.3 versions of 'accessmask_list' stored procedure, 'mod_forumuser.ascx' (and .cs) and finally method 'accessmask_list' in 'DB.cs' class.
When I post FP:Ederon in a topic, I'm leaving my footprint there so I can track it once I get into coding/supporting.
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button