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

fix: added userHasCreatePermission to check if user has permission to dao install #1836

Merged
merged 3 commits into from
Mar 12, 2021

Conversation

nestorbe
Copy link
Contributor

@nestorbe nestorbe commented Mar 9, 2021

This PR should close #309 -> https://linear.app/aragon/issue/ARA-584/dao-install-needs-a-better-error-message-if-permission-is-missing

It uses #842 logic in order to check if the user performing "dao install" command has permission to execute it, if not it will throw an error showing the address of the user that tried to execute the command and the app that the user was trying to install.

✔️ PR Todo

packages/toolkit/src/acl/index.js Outdated Show resolved Hide resolved
packages/cli/src/commands/dao_cmds/install.js Show resolved Hide resolved
@nestorbe nestorbe changed the title added userHasCreatePermissionRole to fix dao install error message fix: added userHasCreatePermission to check if user has permission to dao install Mar 12, 2021
@nestorbe nestorbe merged commit f6d89de into master Mar 12, 2021
@nestorbe nestorbe deleted the 309-issue-aragonCLI branch March 12, 2021 20:41
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.

dao install needs a better error message if permission is missing
2 participants