Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

frame-support: Introduce EnsureOriginOrHigherPrivilege #12844

Merged
merged 2 commits into from
Dec 6, 2022

Conversation

bkchr
Copy link
Member

@bkchr bkchr commented Dec 5, 2022

This adds a new EnsureOrigin implementation that checks if a given origin matches or if the origin is has a higher or equal origin matches or if the origin is has a higher or equal privilege.

This adds a new `EnsureOrigin` implementation that checks if a given origin matches or if the origin
is has a higher or equal origin matches or if the origin is has a higher or equal privilege.
@bkchr bkchr added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Dec 5, 2022
@bkchr
Copy link
Member Author

bkchr commented Dec 6, 2022

bot merge

@paritytech-processbot
Copy link

Waiting for commit status.

@paritytech-processbot paritytech-processbot bot merged commit 11c5057 into master Dec 6, 2022
@paritytech-processbot paritytech-processbot bot deleted the bkchr-ensure-origin-or-higher branch December 6, 2022 14:58
@Polkadot-Forum
Copy link

This pull request has been mentioned on Polkadot Forum. There might be relevant details there:

https://forum.polkadot.network/t/polkadot-release-analysis-v0-9-36/1529/1

ltfschoen pushed a commit to ltfschoen/substrate that referenced this pull request Feb 22, 2023
…12844)

* frame-support: Introduce `EnsureOriginOrHigherPrivilege`

This adds a new `EnsureOrigin` implementation that checks if a given origin matches or if the origin
is has a higher or equal origin matches or if the origin is has a higher or equal privilege.

* FMT
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
…12844)

* frame-support: Introduce `EnsureOriginOrHigherPrivilege`

This adds a new `EnsureOrigin` implementation that checks if a given origin matches or if the origin
is has a higher or equal origin matches or if the origin is has a higher or equal privilege.

* FMT
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants