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

feat: add p/nestedpkg #2342

Merged
merged 11 commits into from
Jul 6, 2024
Merged

feat: add p/nestedpkg #2342

merged 11 commits into from
Jul 6, 2024

Conversation

moul
Copy link
Member

@moul moul commented Jun 12, 2024

This package demonstrates a new access control pattern relying on package paths.

It considers that the #1107 feature is already implemented to rely on the built-in security.

You can see an ongoing usage in #2334.

@moul moul requested review from a team as code owners June 12, 2024 15:02
@moul moul requested review from thehowl and ltzmaxwell and removed request for a team June 12, 2024 15:02
@moul moul self-assigned this Jun 12, 2024
@github-actions github-actions bot added the 🧾 package/realm Tag used for new Realms or Packages. label Jun 12, 2024
moul added 2 commits June 12, 2024 18:00
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
moul added 2 commits June 12, 2024 18:39
Signed-off-by: moul <[email protected]>
Signed-off-by: moul <[email protected]>
@moul moul merged commit 77ceda4 into gnolang:master Jul 6, 2024
9 checks passed
@moul moul deleted the dev/moul/nestedpkg branch July 6, 2024 15:03
zivkovicmilos added a commit that referenced this pull request Jul 6, 2024
moul pushed a commit that referenced this pull request Jul 6, 2024
## Description

This PR reverts commit 77ceda4, #2342, because of a cyclic `gno.mod`
import that's causing the node to not be able to generate genesis
transactions and start.

<details><summary>Contributors' checklist...</summary>

- [x] Added new tests, or not needed, or not feasible
- [x] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [x] Updated the official documentation or not needed
- [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [x] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
- [ ] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>
gfanton pushed a commit to gfanton/gno that referenced this pull request Jul 23, 2024
This package demonstrates a new access control pattern relying on
package paths.

It considers that the gnolang#1107 feature is already implemented to rely on
the built-in security.

You can see an ongoing usage in gnolang#2334.

---------

Signed-off-by: moul <[email protected]>
gfanton pushed a commit to gfanton/gno that referenced this pull request Jul 23, 2024
## Description

This PR reverts commit 77ceda4, gnolang#2342, because of a cyclic `gno.mod`
import that's causing the node to not be able to generate genesis
transactions and start.

<details><summary>Contributors' checklist...</summary>

- [x] Added new tests, or not needed, or not feasible
- [x] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [x] Updated the official documentation or not needed
- [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [x] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
- [ ] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>
thehowl added a commit that referenced this pull request Jul 24, 2024
…#2334)

Depends on #2342

cc @jeronimoalbi

---------

Signed-off-by: moul <[email protected]>
Co-authored-by: Jerónimo Albi <[email protected]>
Co-authored-by: Morgan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧾 package/realm Tag used for new Realms or Packages.
Projects
Status: Done
Status: ✅ Done
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants