Exercises
It’s time to apply the knowledge acquired in this chapter to work with users and permissions.
Exercise 1 – user groups and permissions
Create a user group called MyGroup. The group should be nested under the Registered user group. Change the menu item called MyArticle (created in the exercise of Chapter 5, Build Your Site Structure: The Menu System), to grant access to users in the MyGroup group.
Then create a new user on your website from the backend and add the user to the MyGroup user group.
Exercise 2 – privacy features
Create an article called Privacy Policy and write your policy text. Then, open the System – Privacy Consent plugin and set the article created as a privacy policy for the website. Once done, enable the consent expiration with the default values and enable the plugin.
Create a new menu item, selecting the Privacy | Create Request type, with the name Privacy Request, setting Access as Registered, and saving it...