-
Notifications
You must be signed in to change notification settings - Fork 72
feat(agent): Realize Decorator Agent #214
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
Conversation
ops.forEach((op, i) => { | ||
if (!op.authorization?.role) { | ||
op.authorization = { | ||
role: [], | ||
type: "Bearer", | ||
}; | ||
} | ||
|
||
if (i === 1) op.authorization.role.push("user"); | ||
if (i === 2) op.authorization.role.push("admin"); | ||
if (i === 3) op.authorization.role.push("moderator"); | ||
}); |
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.
뭐하는 코드인가요 이 부분은?
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.
누가 role을 고정해놓고 쓰라했는고
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.
ㅋㅋㅋ 없앴습니다아..
Description
AutoBeRealizeDecoratorEvent
Realize Decorator Agent
Notification