Page MenuHomePhabricator

Always allow running an Implementation
Open, Needs TriagePublic

Description

  • even if the Function have no activated Implementation
  • even if it is not attached to any Function
  • (probably) even if it is not saved and have no ID (i.e. at Special:CreateObject)

Reproduce:

You will see the "Run function" button is disabled. Compare https://www.wikifunctions.org/view/en/Z10131, which is an Implementation (not activated), but you can run it

Also compare:

Event Timeline

Bugreporter renamed this task from Allow running an Implementation even if the Function have no activated Implementation to Always allow running an Implementation .Aug 4 2023, 6:36 PM
Bugreporter updated the task description. (Show Details)
Bugreporter updated the task description. (Show Details)
Bugreporter updated the task description. (Show Details)

Per https://www.wikifunctions.org/wiki/User_talk:GZWDer#Do_not_bypass_the_security_controls, this may result in security issues if anyone can propose a new implementation and run it even before saving.

We'll take a look into this after General Availability, and see how the security situation is at that time.

But one thing: if an implementation is not attached to a function definition, then we wouldn't know the signature of the function, and thus we could not create the User Interface for calling the function.

So the request to be able to run a function implementation even if it is not attached to a function definition, I think that would be impossible.

But there is still the request to run an unconnected function implementation, and that may make sense.

Moving to No current plans for now, should be resurfaced after General Availability (i.e. after "every logged in user can edit").