[Freeciv-Dev] [patch #3388] fcdb: allow database.lua to set user's cmdlevel, delegation etc

2017-05-02 Thread Marko Lindqvist
Update of patch #3388 (project freeciv):

Category:None => general
  Status:None => Duplicate  
 Assigned to:None => cazfi  
 Open/Closed:Open => Closed 

___

Follow-up Comment #1:

Handled at hostedredmine: https://www.hostedredmine.com/issues/657143

___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3388] fcdb: allow database.lua to set user's cmdlevel, delegation etc

2016-05-03 Thread Marko Lindqvist
Update of patch #3388 (project freeciv):

 Planned Release: => 3.0.0  


___

Reply to this item at:

  

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [patch #3388] fcdb: allow database.lua to set user's cmdlevel, delegation etc

2012-07-08 Thread Jacob Nevins
URL:
  http://gna.org/patch/?3388

 Summary: fcdb: allow database.lua to set user's cmdlevel,
delegation etc
 Project: Freeciv
Submitted by: jtn
Submitted on: Sun Jul  8 17:16:26 2012
Category: None
Priority: 5 - Normal
  Status: None
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 

___

Details:

An obvious extension for an authentication database would be to store access
levels (cmdlevels) in it. I don't think this is possible with the current fcdb
arrangements, however, as database.lua has no way to cause the cmdlevel to be
changed.

The obvious thing is to give the script access to issue arbitrary server
commands such as 'cmdlevel' (assuming we open up the security model per bug
#19729). However, at the point where the script is naturally invoked (checking
credentials), it's probably not practical to do this, so there'd probably need
to be a further callback into Lua once the connection structure was set up and
the server could accept further commands.

Delegation feels like something that could live in a database, too. However,
this applies to players rather than users, so I'm less clear how that would
work precisely. Possibly the script would need access to game structures
(patch #3385?)




___

Reply to this item at:

  http://gna.org/patch/?3388

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev