Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Feature #657141

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

Added by Marko Lindqvist over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Scripting API
Sprint/Milestone:
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)Closed2019-10-05

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>
Blocks Freeciv - Feature #657143: fcdb: allow database.lua to set user's cmdlevel, delegation etcClosed

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by Marko Lindqvist over 5 years ago

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

#2 Updated by Marko Lindqvist over 5 years ago

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

#3 Updated by Marko Lindqvist about 5 years 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 about 5 years ago

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

Also available in: Atom PDF