-
Notifications
You must be signed in to change notification settings - Fork 0
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
Use info logic/#82 #90
Conversation
β¦ete functionality
πstorybook: https://65ccb85d5afe55a024495bc0-wuvqamumwh.chromatic.com/ |
πstorybook: https://65ccb85d5afe55a024495bc0-sbzfdrbkgj.chromatic.com/ |
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.
μκ³ νμ
¨μ΅λλ€ !
μΈμ¦ κ΄λ ¨ ν
μ€νΈμ μ§νμ μμ΄ μκ³ ν΄μ£Όμ λλΆμ devModeAuthGuard()μ μ μ©νκ² μ¬μ©ν μ μμ κ² κ°μ΅λλ€.
user.command νμΌμ΄ λ무 ν¬λ€μ. λ‘μ§λ³λ‘ νμΌμ λΆλ¦¬νλ κ²μ κ³ λ €νκ³ μλλ°. μ¬λ¬λΆμ μ견μ λ£κ³ μΆμ΄μ.
κ°νμ΄μ authμ userλ₯Ό λΆλ¦¬νμλ μκ²¬μ΄ μ’μ보μ λλ€.
return { | ||
authId: '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.
κ°λ° λͺ¨λκ° μλλλ
return {
authId: '',
};
μ λ°νν΄μΌνλ κ² μλκ°μ?
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.
- λ¨Όμ , κΈ°μ‘΄μ mock λ‘μ§μ νμ©νλ €λ©΄ authIdκ° νμν©λλ€. λ°λΌμ κ°λ° λͺ¨λκ° μλ ν μ€νΈ μν©μμλ admin κ³μ μΌλ‘ μ§ννλ€λ κ°μ νμ μ΄λ₯Ό ꡬμ±νμμ΅λλ€.
|
|
λλ¨Έμ§ μ¬νλ€μ μμ μ΄ νμνλ―λ‘, μμ ν νμ μ λ‘λ νκ² μ΅λλ€. user.command νμΌμ μ’μ μ견μ μ£Όμ λλΆμ, λ‘μ§ λ¨μλ‘ λΆλ¦¬νκΈ° μ μ λ¨Όμ authμ userλ₯Ό λΆλ¦¬νλλ‘ νκ² μ΅λλ€. |
π μμ λ΄μ©
π€ κ³ λ―Ό νλ λΆλΆ
π λμμ΄ νμν λΆλΆ