Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unexpected result of trying to deny function in the table in ACL.xml #1983

Open
Labels
bugSomething isn't working
@Disinterpreter

Description

Describe the bug

Try to deny some of default lua functions like 'os.getenv' for #1937 (comment)
and ACL will ignore it.

To reproduce
Release os.getenv (if you want you can take os.clock) and add in ACL.xml in Default rights
<right name="function.os.getenv" access="false"></right>
Make a resource with code like

iprint(os.getenv("PATH"))
addBan()

and you'll got the same situation
image

Expected behaviour
Both functions must be deny.

Version
master

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /