Once you set up your environment you can start your work as an administrator. Your most useful tools can be found in Admin Panel.
The System Information panel in the Back Office is sourced in a ezsystems/ez-support-tools repository. There you will also find basic system information such as versions of all installed packages.
Sections are used to divide Content items in the tree into groups that are more easily manageable by content editors. Division into Sections allows you, among others, to set permissions for only a part of the tree.
Technically, a Section is a number, a name and an identifier. Content items are placed in Sections by being assigned the Section ID. One item can be in only one Section.
When a new Content item is created, its Section ID is set to the default Section (which is usually Standard). When the item is published it is assigned to the same Section as its parent. Because content must always be in a Section, unassigning happens by choosing a different Section to move it into. If a Content item has multiple Location assignments then it is always the Section ID of the item referenced by the parent of the main Location that will be used. In addition, if the main Location of a Content item with multiple Location assignments is changed then the Section ID of that item will be updated.
When content is moved to a different Location, the item itself and all of its subtree will be assigned to the Section of the new Location. Note that it works only for copy and move; assigning a new Section to a parent Content item does not affect the subtree, meaning that Subtree cannot currently be updated this way.
Sections can only be removed if no Content items are assigned to them. Even then, it should be done carefully. When a Section is deleted, it is only its definition itself that will be removed. Other references to the Section will remain and thus the system will most likely lose consistency.
Removing Sections may corrupt permission settings, template output and other things in the system.
Section ID numbers are not recycled. If a Section is removed, its ID number will not be reused when a new Section is created.
Users in eZ Platform are treated the same way as Content Types. They are organized in groups such as Guests, Editors, Anonymous, which makes it easier to manage them and their permissions. All User Groups and Users can be accessed in the Admin panel by selecting Users.
Be careful not to delete an existing User account. If you do this, content created by this User will be broken and the application can face malfunction.
Registration form for your website is placed under this address:
To give users an access to your website you need to assign them roles in the Admin panel. Each role consists of:
Rules that give users access to different function in a module. You can restrict what user can do with Limitations. The available Limitations depend on the chosen Policy. When Policy has more than one Limitation, all of them have to apply. See example below.
Limitation specifies what a User can do, not what they can't do.
Location Limitation, for example, gives the User access to content with a specific Location, not prohibits it. See Available Limitations for further information.
After you created all Policies, you can assign the Role to users and/or groups with possible additional Limitations. Every User or User Group can have multiple Roles. A User can also belong to many groups, for example, Administrators, Editors, Subscribers.
Best practice is to avoid assigning Roles to Users directly. Model your content (Content Types, Sections, Locations etc.) in a way that can be accessed by generic Roles. That way system will be more secure and easier to manage. This approach also improves performance. Role assignments and Policies are taken into account during search/load queries.
See Permissions overview for further information.
Here are a few examples of sets of Policies you can use to get some common permission configurations.
Enter back end interface¶
To allow the User to enter the back end interface (PlatformUI) and view all Content, you need to set the following Policies:
To let the User navigate through StudioUI, you also need to add:
These Policies will be necessary for all other cases below that require access to the PlatformUI.
Create content without publishing¶
This option can be used together with eZ Enterprise's content review options. Using the following Policies, the User is able to create content, but can't publish it; instead, they must send it for review to another User with proper permissions (for example, senior editor, proofreader, etc.).
Note that without eZ Enterprise this setup should not be used, as it will not allow the User to continue working with their content.
Create and publish content¶
To create and publish content, the User must have (besides
content/read) the following Policies:
This also lets the User copy and move content, as well as add new Locations to a Content item (but not remove them!).
To send content to trash, the User needs to have the same two Policies that are required for removing Locations:
To remove an archived version of content, the User must have the
Further manipulation of trash requires the
content/restore Policy to restore items from trash, and
content/cleantrash to completely delete all content from the trash.
Restrict editing to part of the tree¶
If you want to let the User create or edit Content, but only in one part of the content tree, you need to use Limitations. Three Limitations that could be used here are
Node Limitation and
Let's assume you have two Folders under your Home: Blog and Articles. You can let a User create Content for the blogs, but not in Articles by adding a
Subtree Limitation on the Blog Content item. This will allow the User to publish content anywhere under this Location in the structure.
Section Limitation can be used similarly, but a Section does not have to belong to the same subtree in the content structure, any Locations can be assigned to it.
If you add a
Node Limitation and point to the same Location, the User will be able to publish content directly under the selected Location, but not anywhere deeper in its subtree.
Note that when a Policy has more than one Limitation, all of them have to apply, or the Policy will not work. For example, a
Location Limitation on Location
Subtree Limitation on
1/2/55 cannot work together, because no Location can satisfy both those requirements at the same time. If you want to combine more than one Limitation with the or relation, not and, you can split your Policy in two, each with one of these Limitations.
For more examples, see Permissions use cases.
eZ Platform offers the ability to create multiple translations of your website.
Which version is shown to a visitor depends on the way your installation is set up.
A new language version for the website can be added in the Admin Panel in the Languages tab.
Every new language must have a name and a language code, written in the
xxx-XX format, for example
The multilanguage system operates based on a global translation list that contains all languages available in the installation. After adding a language you may have to reload the application to be able to use it. Depending on your set up, additional configuration may be necessary for the new language to work properly, especially with SiteAccesses.
See Languages for further information.
A Content Type is a base for new Content items. It defines what fields will be available in the Content item. For example, a new Content Type called Article can have fields such as title, author, body, image, etc. Based on this Content Type, you can create any number of Content items. Content Types are organized into groups. You can add your own groups here to keep your Content Types in better order.