Page MenuHomePhabricator

Function Viewer: When non functioneer tries to connect/disconnect an implementation/tester, no "disallowed" message is shown
Closed, ResolvedPublicBUG REPORT

Description

Description

Steps to reproduce:

  1. As a user with no functioneer permissions, go to any function details page
  2. Select an implementation and connect or disconnect it

Observed behavior:

  • The action does not successfully finish, but there's no warning saying that the user did not have permission

Expected behavior (Acceptance criteria):

  • The user should be clearly notified that their action cannot be done
  • The button should probably not be enabled (related to T301670)

Devices and Design (URLs or screenshots, if applicable):

  • Desktop: ...
  • Small screens/mobile: ...

Completion checklist

Event Timeline

Jdforrester-WMF moved this task from To Triage to Backlog on the Abstract Wikipedia team board.

I think we now won't get into this issue, as the buttons are disabled with canApprove/canDeactivate, right?

I think we now won't get into this issue, as the buttons are disabled with canApprove/canDeactivate, right?

i tested this in prod and yes, as a user in Users group i can attempt to connect or disconnect an implementation and/or test. the action does not complete, but we do display an error message.

image.png (1×2 px, 223 KB)

see also T350927: Users group - error message on attempting to Connect implementation needs to be placed closer to the button , so we could probably mark this task as solved?

Jdforrester-WMF assigned this task to gengh.

I think we now won't get into this issue, as the buttons are disabled with canApprove/canDeactivate, right?

i tested this in prod and yes, as a user in Users group i can attempt to connect or disconnect an implementation and/or test. the action does not complete, but we do display an error message.

image.png (1×2 px, 223 KB)

see also T350927: Users group - error message on attempting to Connect implementation needs to be placed closer to the button , so we could probably mark this task as solved?

WFM.