mdcpp/mdoj

Discuss about regist user API

KAIYOHUGO opened this issue · 7 comments

Discuss about regist user API

With some offline discussion, we decide use the exists create user API. Frontend will need tweak config to show sign up UI

I think we can close this now. r? @Eason0729

Did we discussed?

there is a default_role option in config, when it's not presented or none is presented, we disallow registeration.

If a vaild role is presented(user, super), we allow registeration and set their role as the value?

Did we discussed?

Yeah.... I remember it is on DC.

there is a default_role option in config, when it's not presented or none is presented, we disallow registeration.

If a vaild role is presented(user, super), we allow registeration and set their role as the value?

Yes, and frontend also have a config (regist=true) to set whether to show the signup UI.

Or @Eason0729 you think we should leave it open?

I think we can close it now, and reopen if needed