feat: add --permissionless flag for authorization commands#556
feat: add --permissionless flag for authorization commands#556PivasDesant wants to merge 22 commits intoPsycheFoundation:mainfrom
Conversation
|
Thank you for the PR!!! this is sweet, almost exactly what i need. now that i see it down in a PR, I wonder if we shouldn't generally replace the authorization stuff in the CLIs with an enum, like enum Authorization {
Address(..),
Permissionless
}and then can implement this in such a way that if you pass |
Thanks everyone for looking into this! I'm also wondering if there's a way to implement this without using the |
Adds
--permissionlessflag to authorization commands as an alternative to--authorizer 11111111111111111111111111111111.The flag automatically uses
system_program::IDinternally and conflicts with--authorizerto prevent misuse.Affected commands:
join-authorization-createjoin-authorization-deletejoin-authorization-readcan-joinCloses #471