Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ add policy check to dispenser pallet #314

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

vstam1
Copy link
Collaborator

@vstam1 vstam1 commented Jun 3, 2024

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?

@vstam1 vstam1 marked this pull request as ready for review June 3, 2024 09:25
@vstam1 vstam1 requested review from lrazovic and JuaniRios June 3, 2024 09:25
Copy link

graphite-app bot commented Jun 3, 2024

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.

Copy link

graphite-app bot commented Jun 3, 2024

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.

@vstam1 vstam1 merged commit 31bbba5 into main Jun 3, 2024
@vstam1 vstam1 deleted the vstam1/policy-dispenser-pallet branch June 3, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants