[9518] Implement account associated execute for RA commands
commit26fad0771fd3bc40b3561ee1c0b0f8ffb9a789b8
authorVladimirMangos <vladimir@getmangos.com>
Fri, 5 Mar 2010 01:14:45 +0000 (5 04:14 +0300)
committerVladimirMangos <vladimir@getmangos.com>
Fri, 5 Mar 2010 01:24:32 +0000 (5 04:24 +0300)
tree351731090d511ac0e02e32feabaceb78d1ebc795
parent8db9a51de7a8eb5f12eb656aa1f330134ab2458f
[9518] Implement account associated execute for RA commands

* Now at login by RA-connection RA-connection use account id/access level
  for commands execute. So at login with moderator access by RA-connection you
  can execute only moderator level commands. For administrator level accounts
  allowed execute only console level commands if new config option RA.Stricted = 0.
  For security reasons by default RA.Stricted = 1.
* RA-connection executed commands now logged for associalted account id
* Some own account related commands allowed execute in RA-connection

NOTE: config version updated because RA.Stricted = 1 not compatible with old
      way work and this can break tools thta use RA-access if it not disabled.
      Yuo will need update mangosd.conf.
13 files changed:
src/game/Chat.cpp
src/game/Chat.h
src/game/Level0.cpp
src/game/Level2.cpp
src/game/Level3.cpp
src/game/World.cpp
src/game/World.h
src/mangosd/CliRunnable.cpp
src/mangosd/MaNGOSsoap.cpp
src/mangosd/RASocket.cpp
src/mangosd/RASocket.h
src/mangosd/mangosd.conf.dist.in
src/shared/revision_nr.h