Page MenuHome

Drivers Run Without Asking Permission 2.8
Closed, ArchivedPublic

Description

System Information
OS: Manjaro 17.1.12 Hakoila
Kernel: x86_64 Linux 4.16.18-rt12-MANJARO
DE: KDE 5.50.0 / Plasma 5.13.5
CPU: Intel Core i5-2400S @ 4x 3.3GHz [55.0°C]
GPU: AMD TURKS (DRM 2.50.0 / 4.16.18-rt12-MANJARO, LLVM 6.0.1)
RAM: 2228MiB / 3925MiB

Blender Version
Broken: 66c23ea2b4a4
Worked: f4dc9f9d68b

Short description of error

Auto Run Python Scripts is not disabled by default in 2.8beta
The checkbox is disabled yet it still registers.

Exact steps for others to reproduce the error
Open Attached File. (Plane x transform value is driven by Camera x transform)
In 2.79 it should ask for Reload with Python Scripts enabled
In 2.8 it works upon opening.

Details

Type
Bug

Event Timeline

I know there are now some simple expressions that run without python and are considered safe so they don't require permission. Maybe try writting a more complex expression to eventually trigger the warning

Sebastian Parborg (zeddb) triaged this task as Needs Information from User priority.

You are not using the nightly 2.79 build, right? It doesn't seem to ask me for permission with the latest 2.79 either: https://builder.blender.org/download/

No, not using the current 2.79 build. It's just dangerous to have expressions running on auto-pilot.

I've tried it with more complex expressions on the drivers but still runs it whether box is unchecked or not. (2.8)

Expressions are as follows:
1*(1-cos(max(rotX,0)))
-1*sin(max(rotX,0))

I don't think allowing use of certain math expressions is dangerous.

@Brecht Van Lommel (brecht) I'm guessing this is the intended behavior?

Brecht Van Lommel (brecht) claimed this task.

In 2.80 we indeed evaluate most math expressions without Python, which is both faster and does not come with the security risk.

The above examples of expressions do not need Python.