Project

General

Profile

Feature #657141

Lua 'fcdb' instance should not share security restrictions with 'game' instance

Added by Marko Lindqvist 7 months ago. Updated 7 months ago.

Status:
Closed
Priority:
Normal
Category:
Scripting API
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Originally reported by Jacob Nevins <jtn>

LuascriptModes.patch (5.25 KB) LuascriptModes.patch Marko Lindqvist, 2017-05-17 05:56 PM

Related issues

Blocks Freeciv - Task #656466: S3_0 datafile format freeze (d3f)In Progress2018-01-02

Blocks Freeciv - Feature #657143: fcdb: allow database.lua to set user's cmdlevel, delegation etcNew

History

#1 Updated by Marko Lindqvist 7 months ago

  • Blocks Task #656466: S3_0 datafile format freeze (d3f) added

#2 Updated by Marko Lindqvist 7 months ago

  • Blocks Feature #657143: fcdb: allow database.lua to set user's cmdlevel, delegation etc added

#3 Updated by Marko Lindqvist 7 months ago

  • File LuascriptModes.patch LuascriptModes.patch added
  • Subject changed from Lua 'auth' instance should not share security restrictions with 'game' instance to Lua 'fcdb' instance should not share security restrictions with 'game' instance
  • Category set to Scripting API
  • Status changed from New to Resolved

Patch attached
- luascript_new() gets a new parameter telling if 'secured' or new kind of 'permissive' instance should be created
- fcdb instance is created permissive, others secured
- difference between secured and permissive is that permissive has 'os' lua library loaded

#4 Updated by Marko Lindqvist 7 months ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF