How to implement the permission management module, set a permission management field in the database to 2 by default, the administrator wants to set 1, how to set the administrator, how can I determine that the login is an administrator? can the administrator modify the user name and password ?, The modification should be feasible. First, you can set the administrator's session as the default during login, and then determine if the modification is feasible ?, You can set the default value. If yes. After submission, determine the management permission
How to implement the management permission module, set a field for management permission in the database to 2 by default, the administrator wants to set it to 1, how to set the administrator, and how to determine whether the login is an administrator, can the administrator modify the user name and password?
------ Solution --------------------
The modification should be feasible. First, you can set the administrator's session as the default during login, and then determine if the modification is feasible?
------ Solution --------------------
You can set the default value. If yes. After the submission, you just need to judge.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service