简体   繁体   中英

Manual approval / rejection of user registration by admin using Firebase

Currently I'm designing an application in Swift 3.0 that will be used by a small group up to 100 users.

Users will register through a simple registration form using email id and password but Admin will have to approve or reject the user registration request manually.

Workflow I can think of is if a user register, admin will get some notification or email that a new user registration request is there and then when admin approve or rejects the user registration request and user will get a email (that his registration is approved or rejected).

Is it possible with Firebase, I have tried reading Firebase documents but cannot find anything that can be helpful in this case.

Any help or ideas are very much appreciated.

it's possible, you have to add a field to your user node name it as example approved by default 0, when a new user is added to your database the admin receive a notification and check the registration if accepted change the value to of approved to 1 else delete the user data

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM