gnosisguild / zodiac-modifier-roles

Smart account toolkit for role-based access control
https://roles.gnosisguild.org
GNU Lesser General Public License v3.0
80 stars 39 forks source link

Add the ability to remove targets #121

Closed asgeir-s closed 2 years ago

asgeir-s commented 2 years ago

It must be possible to "remove a target" (by revoking all its access).

When the user clicked this:

image

and then the "Update role" button we need to create a transaction for "removing the target", using this function: https://github.com/gnosis/zodiac-modifier-roles/blob/214719caf31cdf9b4ec80021a7164932586dd09b/packages/evm/contracts/Permissions.sol#L388