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 AccessManager guide #4691

Merged

Conversation

ernestognw
Copy link
Member

Added an Access Manager guide to the "Access Control" section.

PR Checklist

  • Tests
  • Documentation
  • Changeset entry (run npx changeset add)

@changeset-bot
Copy link

changeset-bot bot commented Oct 18, 2023

⚠️ No Changeset found

Latest commit: de39ada

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

ernestognw and others added 2 commits October 20, 2023 11:49
….sol

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
@ernestognw ernestognw requested a review from Amxx October 20, 2023 18:09
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
ernestognw and others added 12 commits October 26, 2023 11:21
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
…ing.sol

Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: ernestognw <ernestognw@gmail.com>
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
Co-authored-by: Eric Lau <ericglau@outlook.com>
ericglau
ericglau previously approved these changes Nov 6, 2023
Copy link
Member

@ericglau ericglau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@Amxx Amxx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guide says:

this is demonstrated in the following Javascript code using Ethers.js

But we have { from: ... } in many places, which is the Web3.js way.

I suggested:

  • some minor wording things
  • changes to make the javascript part ethers.js → is that something we will want to migrate more widelly ?

docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
docs/modules/ROOT/pages/access-control.adoc Outdated Show resolved Hide resolved
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
@ernestognw
Copy link
Member Author

Guide says:

this is demonstrated in the following Javascript code using Ethers.js

But we have { from: ... } in many places, which is the Web3.js way.

Honestly I've been trying not to delay this PR being excessively strict with the Javascript code examples. They're somewhat messed up across all the docs.

changes to make the javascript part ethers.js → is that something we will want to migrate more widelly ?

We have a ticket for this in the list of pending documentation changes.

@ernestognw ernestognw merged commit cb1ef86 into OpenZeppelin:master Nov 9, 2023
18 checks passed
ernestognw added a commit to ernestognw/openzeppelin-contracts that referenced this pull request Nov 9, 2023
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Eric Lau <ericglau@outlook.com>
Co-authored-by: Zack Reneau-Wedeen <z.reneau.wedeen@gmail.com>
ernestognw added a commit that referenced this pull request Nov 9, 2023
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Co-authored-by: Eric Lau <ericglau@outlook.com>
Co-authored-by: Zack Reneau-Wedeen <z.reneau.wedeen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants