Bootstrap the first admin account from a verified email - #52
Merged
Conversation
Collaborator
Author
|
누군가는 승인을 해야하기때문에, master@wafflestudio.com 구글 계정으로 로그인하면 운영진이 한명도 없을 때 이 계정이 운영진이 됩니다. 최초 운영진 승인 후 계정 삭제하면 될 것 같아요. |
Collaborator
|
잘 작성된 것 같습니다! 그런데 관리자 계정을 삭제하지 않으면 어떨까요? 모든 권한을 갖는 관리자 계정이 하나 정도는 있어도 서비스 운영 차원에서 편리한 점도 있을 것 같습니다. 현재 main branch에 is_superadmin 플래그가 있어서 운영팀(프로젝트) 밖에 있어도 운영팀 권한을 유지할 수 있도록 하는 방법을 마련해놨는데 혹시 이것을 사용하면 어떨까 싶습니다. 다만, 보안 측면에서는 위험성이 있을 것 같긴합니다. |
Collaborator
Author
|
is_superadmin 사용하는 방식으로 수정했습니다. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
BOOTSTRAP_ADMIN_EMAILsupport.Testing