Job description
Hello,
I need to complete the login functionality for a certain area of WordPress.
Currently part of the logic is written, need to add the rest.
How should it work?
1) The user goes to the address of the registration page and receives a form with a table, in which the checkboxes are used to select pages and fields (from ACF) to which he wants to have access.
2. sends the form or registers an account in WP. The account is in a waiting mode for activation. The user receives an e-mail that his account is waiting for approval. The administrator receives an e-mail that there is a new account, along with a link to go to the WP users page. There, he sees the new account and an active table field dump. He can confirm the user or change the access range in the table and then approve. 3.
After confirmation the user receives an email that his account has been activated along with a snapshot of information from the table - that is information where he has been granted access.
4. at any time, the administrator can edit the user's account, assigning or taking away permissions to a particular area "from the table".
Additional guidelines:
1) At the moment, manually enlisted ACF fields, which are the same for all subpages, enter the table based on their names.
2) Currently, a dynamically pulled list of subpages (children of certain manually specified pages) enters the table. This needs to work so that every time the table is edited, the previously assigned accesses are not lost and new subpages are potentially seen if they appear.
(3) The user must also be able to see this table on the "my account" page but only in preview mode without editing. The user will not have access to the wordpress panel only the themes pulled to the front end.
The rest of the information in the "required features" field because it doesn't fit here :D