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

Chain permissions - Next Steps explainer/PoC #11868

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adonesky1
Copy link
Contributor

@adonesky1 adonesky1 commented Oct 18, 2024

Description

PoC for hooking up the permissions management modal

Screen.Recording.2024-10-18.at.10.19.50.AM.mov

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Copy link
Contributor

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

@adonesky1 adonesky1 changed the title Ad/permitted chains permission merged next steps (WIP) Chain permission - Next Steps Explainer/PoC Oct 18, 2024
@adonesky1 adonesky1 changed the title Chain permission - Next Steps Explainer/PoC Chain permissions - Next Steps explainer/PoC Oct 18, 2024
Base automatically changed from ad/permitted-chains-permission to main October 18, 2024 22:34
Copy link
Contributor

@EtherWizard33 EtherWizard33 left a comment

Choose a reason for hiding this comment

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

added one comment for now, still looking at the rest

);

const toggleRevokeAllNetworkPermissionsModal = useCallback(() => {
// not sure if we want to do this here or on the sub modal
// which provides the extra warning that it will fully disconnect you
Copy link
Contributor

Choose a reason for hiding this comment

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

correct

@adonesky1 adonesky1 force-pushed the ad/permitted-chains-permission-merged-next-steps branch from bba4443 to 8f2c5cf Compare October 22, 2024 00:03
Copy link

const [selectedNetworkIds, setSelectedNetworkIds] = useState<string[]>([]);
const [selectedChainIds, setSelectedChainIds] = useState<string[]>([]);
const networkConfigurations = useSelector(selectNetworkConfigurations);

Copy link
Contributor

@EtherWizard33 EtherWizard33 Dec 19, 2024

Choose a reason for hiding this comment

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

@adonesky1 Engine.context.PermissionController.getCaveat came from this POC PR originally

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.

2 participants