PacMan Posted March 24, 2010 Share Posted March 24, 2010 It would be nice if there were add scripting function for virtual set ACL rights for player at time of current game. Something like: setPlayerAclGroup (player thePlayer, string groupName, bool access) Or: loginAclGroup( player thePlayer, string groupName ) logoutAclGroup( player thePlayer ) That would be a good alternative use for its own account system. Link to comment
robhol Posted March 24, 2010 Share Posted March 24, 2010 Agreed, something like that would be useful. Link to comment
lil Toady Posted March 25, 2010 Share Posted March 25, 2010 Not like you can't script those functions Link to comment
PacMan Posted March 25, 2010 Author Share Posted March 25, 2010 With these functions would be much easier, for example, take your "admin" resource. There are commands to administer the server, but to use them need ACL right, could simply get necessary rights and working with any resources. You can certainly go the difficult way and write your own system for temporary obtaining of rights, constantly adding and removing user accounts and ACL rights, but agree it is not the best solution. Link to comment
PacMan Posted March 25, 2010 Author Share Posted March 25, 2010 Better still make a function similar to temporary login with obtaining rights as it is now using /login triggered event onPlayerLogin and leaving onPlayerLogout. When player logout ACL rights should automatically disappear. For example: playerLogin( player thePlayer, acl theAcl ) playerLogout( player thePlayer ) Link to comment
Recommended Posts