DragonPrime - LoGD Resource Community

Game Administration, Installation and Configuration => The Idea Place => Topic started by: sixf00t4 on October 07, 2005, 02:22:34 AM



Title: admin audit/logging
Post by: sixf00t4 on October 07, 2005, 02:22:34 AM
It be nice to have all administrator actions entered in the debug log.  such as "fixed badnavs for $user" or "changed $user's hitpoints from $old[setting] to $new[setting]"  not only for user editor, but also module settings and activation.

this will help diagnosing problems when things go wrong, seeing who is doing the most work, and revealing potential abuse of moderator powers.  might also help identify reoccuring issues.


another thing that scratches at the back of my mind is uninstalling modules.  I'm fine with admins changing settings on modules if something needs adjusted, and if a terrible problem comes up with a module, they should be able to deactivate the module, but i think the ability to uninstall the module and wipe all module prefs for users and information stored in the db should be reserved for megausers and developer groups.

I just think that people shouldn't have permission to things that they don't need, or things they shouldn't use without permission.  more of a preventative step in locking down on potential risks.


Title: Re:admin audit/logging
Post by: XChrisX on October 07, 2005, 02:50:55 AM
Aaaaaaaaaaaaand... The definately should be a viewer for the gamelog!!!

Just by the way... ;)

(And Kendaer, if you read this... You wanted to make the gemfindchance adjustable... Ah... yes.. I will write a patch... Yes... ;D )


Title: Re:admin audit/logging
Post by: Kendaer on October 07, 2005, 11:02:06 AM
Aaaaaaaaaaaaand... The definately should be a viewer for the gamelog!!!

Just by the way... ;)

(And Kendaer, if you read this... You wanted to make the gemfindchance adjustable... Ah... yes.. I will write a patch... Yes... ;D )

Eric deliberately didn't make a viewer for the game log, because it's generally something that only the site admin should need (for debugging stuff) and those people should have access to the raw SQL which is generally sufficient.   If you want to make one, be our guest however.

I'm also not sure which 'gemfindchance' you are talking about.   I think pretty much all of the ones that I wanted configurable have been made so.


Title: Re:admin audit/logging
Post by: XChrisX on October 07, 2005, 11:27:39 AM
I'm also not sure which 'gemfindchance' you are talking about.   I think pretty much all of the ones that I wanted configurable have been made so.

lib/forestoutcomes.php, line34

Code:
   if ($session['user']['level'] < 15 && e_rand(1,35) == 1) {
[/code

e_rand()'s second argument should be a game setting... (has to be a year ago now, that we talked about that... at least  before pre12... ;)


Title: Re:admin audit/logging
Post by: XChrisX on October 07, 2005, 11:31:23 AM
Ah... okay... well... Hmm... no... it was 1.0.2 ... at least the digits were right... *cough*

http://dragonprime.net/index.php?board=5;action=display;threadid=2118;start=msg20057#msg20057


Title: Re:admin audit/logging
Post by: Kendaer on October 09, 2005, 04:56:07 PM
It's actually in the CVS tree.

© 2019 DragonPrime - LoGD Resource Community
Email Talisman: talisman -at- gmail.com
&oeXs)2U7=V BmܲV.U e=;p\}eG )Jj} C5EH7ˤH=j } mo|*Ŋw{drV_@IV>/- TFQJ׀̀Ve}l1,V O iNYx͘$e$;
Forums: Powered by SMF 1.1.21 | SMF © 2006-2007, Simple Machines