naver / yobi

Project hosting software - Deprecated
Apache License 2.0
379 stars 136 forks source link

계정관련 문의 #979

Open atoztester opened 8 years ago

atoztester commented 8 years ago

계정관련해서 질문드립니다. 현재 yobi에서 사용자가 원하면 바로바로 가입이 되는 것으로 파악됩니다만. 혹시 관리자가 직접 사용자를 입력 및 가입하거나, 관리자가 가입된 사용자를 선택적으로 사용할 수 있도록 확인(컨펌)할 수 있는 기능이 있을까요? 폐쇄형 yobi가 가능한지 궁금합니다.

doortts commented 8 years ago

안녕하세요? 폐쇄형으로 운영 가능합니다.

사용중이신 application.conf 파일내에 아래 두 줄을 추가해 주시면 됩니다.

application.allowsAnonymousAccess=false
signup.require.confirm = true

윗 줄은 로그인하지 않은 사용자는 public 프로젝트 페이지에 접근을 하지못하도록 하는 옵션이며 아랫줄은 가입후 관리자가 확인해서 잠김을 해제하지 않으면 로그인이 되지 않게 막는 옵션입니다.

이하 관련설명

# Anonymous access
# ~~~~~~~~~~~~~~~~
# This site allows anonymous access. (default: true)
# If this is false, Yobi refuses anonymous access to any page except for the
# ones to be needed for login, login and creating accout.
# NOTE: Even if this is false, anyone can create a account freely. If you don't
# want to allow that, set signup.require.confirm to false.
application.allowsAnonymousAccess=true

# If "signup.require.confirm = true" has enabled in application.conf,
# the user in state of locked(or unconfirmed) cannot be logged in.
# and page will be redirected to login form with message "user.locked".
#
signup.require.confirm = true
atoztester commented 8 years ago

친절하고 정확한 답변 감사합니다! 제가 원하던 딱 그 기능입니다!! 감사합니다!