Polimec / polimec-node

Decentralized community-driven funding protocol for Web3
https://www.polimec.org/
GNU General Public License v3.0
12 stars 4 forks source link

:sparkles: add policy check to dispenser pallet #314

Closed vstam1 closed 4 months ago

vstam1 commented 4 months ago

What?

Add a policy check to the dispenser pallet

Why?

We need to filter user credentials based on a specified policy. Policy can be found at https://cloudflare-ipfs.com/ipfs/QmVdGSxuWcamYEmYJjR3gvZucqQpp4Jnf6tqJABHwKZVo3

How?

Added a Pallet config item for the whitelisted policy.

Testing?

Added user_cannot_dispense_with_wrong_policy and updated the rest of the tests.

Screenshots (optional)

Anything Else?

graphite-app[bot] commented 4 months ago

Graphite Automations

"Auto-assign PRs to author" took an action on this PR • (06/03/24)

1 assignee was added to this PR based on Juan Ignacio Rios's automation.

graphite-app[bot] commented 4 months ago

Graphite Automations

"Auto-assign PRs to author" took an action on this PR • (06/03/24)

1 assignee was added to this PR based on Juan Ignacio Rios's automation.