In php, how can I add data with low permissions only after high-permission review. A network administrator needs to add data to the warehouse but cannot add data to the warehouse, all the added data must be reviewed by the super administrator before they can be truly added to the database .... how can we implement such a function? give me some ideas ....
Reply to discussion (solution)
Add or add data to the database, but the information of the user (such as the user ID) should be included)
You also need to set a field in the table to identify whether the review is successful.
In this way, only the data that passes the review is the official data.
Add or add data to the database, but the information of the user (such as the user ID) should be included)
You also need to set a field in the table to identify whether the review is successful.
In this way, only the data that passes the review is the official data.
Is added to the database, add a field specifically to store whether it is approved, any way is to remind the Super Administrator of how many pieces of data he has to review as soon as he logs in ....
Audit field Audit initial value is 0, pass is 1
So
Sekect * from tbl_name where Audit = 0
All records that fail the review