DigixGlobal / governance-ui-components

Governance UI reusable components library
Other
3 stars 2 forks source link

[FIX] Allow PRL to sign message and login to the site #373

Closed mandres-digix closed 5 years ago

mandres-digix commented 5 years ago

The role was not included in the check for valid users. This diff should fix that.

Test Plan

Setup

The test account for PRL is account. Check that it's recognized by info-server by going to localhost:3001/address/$ADDRESS. If the result is notFound, you need to add the address as a PRL account to the info-server and dao-server.

For info-server, you can add it via mongodb:

$ mongo
> use digixdao
> db.addresses.insertOne({ address: "$ADDRESS", isPrl: true })

For the dao-server, you can add it via rails console:

$ rails c
> User.create(address: "$ADDRESS", uid: SecureRandom.rand(1000000..1999999))

Test

mikej-digix commented 5 years ago

iteration: 1 environment: local status: PASSED

Test Condition: