-
Notifications
You must be signed in to change notification settings - Fork 103
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
Update Credit Class Designer to "Credit Class Admin" #496
Comments
Is Credit Class Creator different than Credit Class Admin? The allowlist would be filtering the values of the Credit Class Admin field of the ClassInfo, right? |
Also, this is in progress, but no one is assigned. Is there someone working on it? |
The allowlist would be for credit class creators (someone who can create a credit class) |
I don't think anyone is working on it at the moment. Not sure why it was placed within in progress. |
Cool. I've also just looked through the code and the creator and admin could be different. From the CLI, you'd need signatures from both the creator, specified with the I think we may need to update our logic in the |
This would then look like this perhaps:
and the |
Yup, it looks like the logic needs to be updated. I think it makes sense to have the sender represent the creator (
Yes, the credit class creator should be able to assign an admin and we should check the creator against the allowlist.
Would it make more sense to have the creator pay the fee? We would only need a signature from the creator if so. The admin would just be an assignee in that case, so no signature required. |
So I think @ryanchristo what you crossed out here is exactly what I understand the desired behavior to be. We currently don't have a known use case for separate credit class creators & admins (making these distinct users). IMO the desired behavior should be:
@ruhatch if you think this terminology is still confusing, then maybe we should just call it all CreditClassAdmin and AdminAllowList? I know Ryan was originally expressing hesitation with that idea, but after reading how you interpreted the distinction btw creator & admin I'm wondering if we should reconsider. |
I think we could keep both terms, but we'd actually want to remove the CLI parameter for |
Ok, I think it makes sense for now to have the creator become the admin. I was hoping that we could support the assignment of an admin, in which case the creator could be on the approved list and the creator could assign an admin who is not on the approved list, but I realize this would require changes to the proto definitions and the permissioned approach is only meant to be temporary. I think removing the CLI parameter for |
* refactor: Rename credit class designer to admin (#496) * Take credit class admin from --from flag * Add details to create-class CLI long description * Fix failing tests * Allow key-name in create-class --from flag * Run make gen-proto
We had a call with the science team today where we deemed that Credit Class Designer is probably not the right name for what we mean (in x/ecocredit documentation & code).
It's often the case that someone will be "designing" a credit class, but not actually wanting to manage the process of managing a credit class.
Similarly, the AllowList should probably be called an allow list for "Credit Class Creators", as that's the technical capabilities this will have.
The text was updated successfully, but these errors were encountered: