Creating blog Users and Roles
The creation of users and roles has already been explained in Chapter 7, Administrating Pimcore Sites, so we just have to go back to the notions learned in that chapter to create the necessary users and roles.
For this example, we can create two users, our dear Bob
and Tom
(our authors), and an author role to be assigned to our users.
Creating an Author Role
First, we will create a role for the authors. The role configuration is shown in the next screenshot:
As you can see from the preceding screenshot, we have assigned the creation permission for the three classes of the blog: BlogArticle
, BlogCategory
, and BlogAuthor
. This is because we need to allow users who are part of this role to manage these objects. In the Permissions section (which in Figure 9.4 is compressed for reasons of space), we have selected the following items: Assets, Classes, Objects, and Users. This will allow...