Page MenuHomePhabricator

[wmf.1] wikilambda-zerror displayed for logged in users when running Implementation
Closed, DuplicatePublic

Description

Steps to reproduce:

  1. A user in Users groups logs in and goes to https://www.wikifunctions.org/view/en/Z10184.
  2. The user can successfully run the function
  3. The user goes to the implementation of that function - https://www.wikifunctions.org/view/en/Z10186.
  4. The user clicks Run function on the implementation page will get: wikilambda-zerror

Screen Shot 2023-10-19 at 3.32.31 PM.png (776×536 px, 53 KB)

Notes

  • Wikifunctions staff users can run the above implementation (https://www.wikifunctions.org/view/en/Z10186) successfully
  • wikilambda-zerrordisplayed for Users when any Implementation is run
  • Tests can be run by Users successfully
  • if implementations of functions cannot be run by Users (and some other user categories), users should not see an active Run function button or should get a more helpful error message.

Event Timeline

The user can successfully run the function

This is a bug, the user isn't authorised by until T349055 work just now we didn't actually tell the user they couldn't run it; this will go out next week.

I'll mark as a dupe.

The user can successfully run the function

This is a bug, the user isn't authorised by until T349055 work just now we didn't actually tell the user they couldn't run it; this will go out next week.

I'll mark as a dupe.

Testing notes: The bug is fixed in betalabs.
T349055: User rights: Users can run functions is bigger in scope (not-logged users should be able to run functions).