Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Richtlinien des Moduls content

Die Richtlinienfunktionen des Moduls content (27) und ihre Einschränkungen.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/policies/content.md

On this page

This page is a translation. Read the English original

Richtlinien des Moduls content

Die Richtlinienfunktionen von content und ihre Einschränkungen, aus $FunctionList in kernel/content/module.php. In der Administration werden sie unter Rollen und Richtlinien gewählt; eine Richtlinie auf content/* erlaubt jede Funktion.

Manche Funktionen nehmen außerdem eine Einschränkung pro Objektzustandsgruppe der Website, namens StateGroup_<group identifier> (eZContentObjectStateGroup::limitations(), aus der Datenbank gelesen und daher unten nicht aufgeführt).

bookmark

Geprüft von den Ansichten: bookmark.

Keine Einschränkungen: Die Richtlinie gilt ganz oder gar nicht.

// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'bookmark' );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'bookmark' ) )}
    ...
{/if}

cleantrash

Keine Ansicht des Moduls nennt sie; Code prüft sie (eZUser::hasAccessTo( 'content', 'cleantrash' ) oder der Fetch user/has_access_to).

Keine Einschränkungen: Die Richtlinie gilt ganz oder gar nicht.

// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'cleantrash' );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'cleantrash' ) )}
    ...
{/if}

create

Geprüft von den Ansichten: copysubtree, edit, upload.

EinschränkungWerte stammen aus
ClasseZContentClass::fetchList()
LanguageeZContentLanguage::fetchLimitationList()
Node
ParentClasseZContentClass::fetchList()
ParentDeptheZContentObjectTreeNode::parentDepthLimitationList()
ParentGroupfest: Self (1)
ParentOwnerfest: Self (1), Self or anonymous users per HTTP session (2)
SectioneZSection::fetchList()
Subtree
// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'create', array( 'Class' => array( /* values */ ) ) );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'create' ) )}
    ...
{/if}

dashboard

Geprüft von den Ansichten: dashboard.

Keine Einschränkungen: Die Richtlinie gilt ganz oder gar nicht.

// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'dashboard' );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'dashboard' ) )}
    ...
{/if}

diff

Keine Ansicht des Moduls nennt sie; Code prüft sie (eZUser::hasAccessTo( 'content', 'diff' ) oder der Fetch user/has_access_to).

EinschränkungWerte stammen aus
ClasseZContentClass::fetchList()
Node
Ownerfest: Self (1)
SectioneZSection::fetchList()
Subtree
// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'diff', array( 'Class' => array( /* values */ ) ) );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'diff' ) )}
    ...
{/if}

edit

Geprüft von den Ansichten: draft, edit, history, move, multiedit, queued, removeassignment, removenode, urlalias.

EinschränkungWerte stammen aus
ClasseZContentClass::fetchList()
Groupfest: Self (1)
LanguageeZContentLanguage::fetchLimitationList()
Node
Ownerfest: Self (1), Self or anonymous users per HTTP session (2)
SectioneZSection::fetchList()
Subtree
// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'edit', array( 'Class' => array( /* values */ ) ) );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'edit' ) )}
    ...
{/if}

hide

Geprüft von den Ansichten: hide.

EinschränkungWerte stammen aus
ClasseZContentClass::fetchList()
Groupfest: Self (1)
LanguageeZContentLanguage::fetchLimitationList()
Node
Ownerfest: Self (1), Self or anonymous users per HTTP session (2)
SectioneZSection::fetchList()
Subtree
// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'hide', array( 'Class' => array( /* values */ ) ) );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'hide' ) )}
    ...
{/if}

jobs

Keine Ansicht des Moduls nennt sie; Code prüft sie (eZUser::hasAccessTo( 'content', 'jobs' ) oder der Fetch user/has_access_to).

Keine Einschränkungen: Die Richtlinie gilt ganz oder gar nicht.

// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'jobs' );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'jobs' ) )}
    ...
{/if}

manage_locations

Keine Ansicht des Moduls nennt sie; Code prüft sie (eZUser::hasAccessTo( 'content', 'manage_locations' ) oder der Fetch user/has_access_to).

EinschränkungWerte stammen aus
ClasseZContentClass::fetchList()
Ownerfest: Self (1)
SectioneZSection::fetchList()
Subtree
// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'manage_locations', array( 'Class' => array( /* values */ ) ) );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'manage_locations' ) )}
    ...
{/if}

move

Keine Ansicht des Moduls nennt sie; Code prüft sie (eZUser::hasAccessTo( 'content', 'move' ) oder der Fetch user/has_access_to).

Keine Einschränkungen: Die Richtlinie gilt ganz oder gar nicht.

// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'move' );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'move' ) )}
    ...
{/if}

pdf

Geprüft von den Ansichten: pdf.

EinschränkungWerte stammen aus
ClasseZContentClass::fetchList()
Node
Ownerfest: Self (1)
SectioneZSection::fetchList()
Subtree
// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'pdf', array( 'Class' => array( /* values */ ) ) );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'pdf' ) )}
    ...
{/if}

pendinglist

Geprüft von den Ansichten: pendinglist.

Keine Einschränkungen: Die Richtlinie gilt ganz oder gar nicht.

// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'pendinglist' );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'pendinglist' ) )}
    ...
{/if}

publish

Keine Ansicht des Moduls nennt sie; Code prüft sie (eZUser::hasAccessTo( 'content', 'publish' ) oder der Fetch user/has_access_to).

EinschränkungWerte stammen aus
ClasseZContentClass::fetchList()
Groupfest: Self (1)
LanguageeZContentLanguage::fetchLimitationList()
Node
Ownerfest: Self (1), Self or anonymous users per HTTP session (2)
SectioneZSection::fetchList()
Subtree
// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'publish', array( 'Class' => array( /* values */ ) ) );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'publish' ) )}
    ...
{/if}

publish_without_notification

Keine Ansicht des Moduls nennt sie; Code prüft sie (eZUser::hasAccessTo( 'content', 'publish_without_notification' ) oder der Fetch user/has_access_to).

Keine Einschränkungen: Die Richtlinie gilt ganz oder gar nicht.

// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'publish_without_notification' );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'publish_without_notification' ) )}
    ...
{/if}

read

Geprüft von den Ansichten: action, advancedsearch, browse, collectedinfo, collectinformation, copy, download, history, job, jobs, keyword, new, removeeditversion, removemediaobject, removeobject, removeuserobject, search, sharedpreview, sitesuggest, subitemsexport, suggest, tipafriend, translation, treemenu, view.

EinschränkungWerte stammen aus
ClasseZContentClass::fetchList()
Groupfest: Self (1)
Node
Ownerfest: Self (1)
SectioneZSection::fetchList()
Subtree
// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'read', array( 'Class' => array( /* values */ ) ) );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'read' ) )}
    ...
{/if}

remove

Keine Ansicht des Moduls nennt sie; Code prüft sie (eZUser::hasAccessTo( 'content', 'remove' ) oder der Fetch user/has_access_to).

EinschränkungWerte stammen aus
ClasseZContentClass::fetchList()
Node
Ownerfest: Self (1)
SectioneZSection::fetchList()
Subtree
// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'remove', array( 'Class' => array( /* values */ ) ) );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'remove' ) )}
    ...
{/if}

restore

Geprüft von den Ansichten: restore, trash.

Keine Einschränkungen: Die Richtlinie gilt ganz oder gar nicht.

// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'restore' );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'restore' ) )}
    ...
{/if}

reverserelatedlist

Geprüft von den Ansichten: reverserelatedlist.

Keine Einschränkungen: Die Richtlinie gilt ganz oder gar nicht.

// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'reverserelatedlist' );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'reverserelatedlist' ) )}
    ...
{/if}

tipafriend

Geprüft von den Ansichten: tipafriend.

Keine Einschränkungen: Die Richtlinie gilt ganz oder gar nicht.

// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'tipafriend' );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'tipafriend' ) )}
    ...
{/if}

translate

Keine Ansicht des Moduls nennt sie; Code prüft sie (eZUser::hasAccessTo( 'content', 'translate' ) oder der Fetch user/has_access_to).

EinschränkungWerte stammen aus
ClasseZContentClass::fetchList()
LanguageeZContentLanguage::fetchLimitationList()
Node
Ownerfest: Self (1)
SectioneZSection::fetchList()
Subtree
// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'translate', array( 'Class' => array( /* values */ ) ) );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'translate' ) )}
    ...
{/if}

translations

Geprüft von den Ansichten: translations.

Keine Einschränkungen: Die Richtlinie gilt ganz oder gar nicht.

// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'translations' );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'translations' ) )}
    ...
{/if}

urltranslator

Geprüft von den Ansichten: urlexport, urlredirects, urltranslator, urlwildcards.

Keine Einschränkungen: Die Richtlinie gilt ganz oder gar nicht.

// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'urltranslator' );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'urltranslator' ) )}
    ...
{/if}

urltranslator_import

Geprüft von den Ansichten: urlimport, urlimporthistory.

Keine Einschränkungen: Die Richtlinie gilt ganz oder gar nicht.

// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'urltranslator_import' );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'urltranslator_import' ) )}
    ...
{/if}

versionread

Geprüft von den Ansichten: versionview.

EinschränkungWerte stammen aus
ClasseZContentClass::fetchList()
Node
Ownerfest: Self (1)
SectioneZSection::fetchList()
StatuseZContentObjectVersion::statusList()
Subtree
// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'versionread', array( 'Class' => array( /* values */ ) ) );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'versionread' ) )}
    ...
{/if}

versionremove

Keine Ansicht des Moduls nennt sie; Code prüft sie (eZUser::hasAccessTo( 'content', 'versionremove' ) oder der Fetch user/has_access_to).

EinschränkungWerte stammen aus
ClasseZContentClass::fetchList()
Node
Ownerfest: Self (1)
SectioneZSection::fetchList()
StatuseZContentObjectVersion::statusList()
Subtree
// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'versionremove', array( 'Class' => array( /* values */ ) ) );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'versionremove' ) )}
    ...
{/if}

view_embed

Keine Ansicht des Moduls nennt sie; Code prüft sie (eZUser::hasAccessTo( 'content', 'view_embed' ) oder der Fetch user/has_access_to).

EinschränkungWerte stammen aus
ClasseZContentClass::fetchList()
Node
Ownerfest: Self (1)
SectioneZSection::fetchList()
Subtree
// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'view_embed', array( 'Class' => array( /* values */ ) ) );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'view_embed' ) )}
    ...
{/if}

view_system_url

Keine Ansicht des Moduls nennt sie; Code prüft sie (eZUser::hasAccessTo( 'content', 'view_system_url' ) oder der Fetch user/has_access_to).

Keine Einschränkungen: Die Richtlinie gilt ganz oder gar nicht.

// Einer Rolle die Richtlinie geben (eZRole::appendPolicy( $module, $function, $limitations ))
$role = eZRole::fetchByName( 'Editor' );
$role->appendPolicy( 'content', 'view_system_url' );
{if fetch( 'user', 'has_access_to', hash( 'module', 'content', 'function', 'view_system_url' ) )}
    ...
{/if}

Siehe auch


Erzeugt von ./console exp:help:examples --language=ger-de aus kernel/content/module.php, kernel/classes/ezrole.php. Bearbeiten Sie diese Seite nicht: Ändern Sie die Quelle oder die deutsche Übersetzung und erzeugen Sie sie neu (wie). Freie Dokumentation: GFDL 1.3 oder später.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x