aragon.js
aragon.js copied to clipboard
Wrapper: AragonApps w/o permissions are not detected
The wrapper is using the permissions observable to create the apps observable. If I add a new app w/o setting any permissions, it will not be added to the apps stream.
@perissology An app is technically not installed until there are references to it in the ACL, as a app with no permissions set is effectively a useless app (https://hack.aragon.org/docs/cli-usage.html#dao-install) (assuming roles are being used).
Is the assumption when installing a new app to an existing dao that a kit will be used & the permissions setup via the kit?
With the permissions app now available, maybe it makes sense to show un-permissioned apps there?
@perissology Hmm... maybe in the App Center, and it could lead you to initialize it and assign permissions. Technically we do have enough information from the SetApp and NewAppProxy events to know if you have an orphaned app without permissions.
The general assumption is that you'll be using some sort of kit / bundler contract that will create, initialize, and assign the initial permissions when installing most apps though.