Web: [Bug] As a funder, I cannot approve a bounty hunter for work.

Created on 25 Jun 2018  路  4Comments  路  Source: gitcoinco/web

User Story

As a funder, I cannot approve a bounty hunter for work.

Why Is this Needed?

Summary: To allow work to progress.

Description

Type: Bug
Recently when trying to approve workers on permissioned bounties, I am getting the error shown in the below screenshot. Notice the cancel bounty button appears, I am logged into metamask with the funding account selected.

image

Current Behavior

Cannot approve a worker

Expected Behavior

Can approve a worker

Reproduction

See screenshot, seems to happen across all permissioned bounties when clicking the provided link in the github issues comment.

Solution

Summary:

Definition of Done

Additional Information

ref: https://github.com/MARKETProtocol/MARKET.js/issues/39

bug

Most helpful comment

@mbeacom @SaptakS i suggest the following two courses of action

IMMEDIATELY

  1. Update the error message to tell the user to login.

SOON-ISH

  1. If the user is not logged in, present them with a 'please login first' modal

All 4 comments

@SaptakS @mbeacom

this is not related to accepting work (which is baed on the users ETH address), it is based upon approving workers (which is based upon github login)

i believe this is related to this line of code https://github.com/gitcoinco/web/blob/master/app/dashboard/views.py#L777-L817

specifically

is_funder = bounty.is_funder(request.user.username.lower())

so the user must be logged into the system

@mbeacom @SaptakS i suggest the following two courses of action

IMMEDIATELY

  1. Update the error message to tell the user to login.

SOON-ISH

  1. If the user is not logged in, present them with a 'please login first' modal

@owocki Adding the message now.

We pushed a change to alert unauthenticated users to login when attempting a worker mutation. I have created a follow up issue to implement a login modal in #1790

Thanks for reporting this!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

frankchen07 picture frankchen07  路  4Comments

NukeManDan picture NukeManDan  路  3Comments

christianbundy picture christianbundy  路  3Comments

aashutoshrathi picture aashutoshrathi  路  4Comments

Makondor2 picture Makondor2  路  3Comments