-
Notifications
You must be signed in to change notification settings - Fork 1
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
feat (48829): agent stuff updates #94
Conversation
maryjanyes
commented
Oct 21, 2024
•
edited
Loading
edited
- Add ability for admin to add user's identity to the registry. #83
- When pasting the address into "add agent" input #84
- Cleanup duplicate values from "select address which was already in use" #85
Signed-off-by: maryjanyes <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
👷 Deploy Preview for swirlds-eip processing.
|
✅ Deploy Preview for swirlds-eip ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
const accountIdentity = identityItems.find( | ||
(item) => item.wallet === accountEvm, | ||
); | ||
const isAccountAgentAdmin = filteredNotAgentsYet?.includes( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are we sure that having a record here makes a user an Admin? Maybe user was removed afterwards? Is there a reliable way to detect Agent vs Admin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are we sure that having a record here makes a user an Admin? Maybe user was removed afterwards? Is there a reliable way to detect Agent vs Admin?
Admin is the one who can perform edit operations, because of it Agent became Admin and Admin also became Agent. Correct me if i wrong @dchernokur.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
couple more notes, otherwise lgtm