Recherche

Sommaire

Pages enfant
  • Restrictions utilisateur anonyme

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

Éditez le fichier nuxeo-dm-5.4.1-tomcat/templates/custom/config/actions-config.xml

Bloc de code
langxml
<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.actionsContrib">
       <<!-- ON SUPPRIME LE LIEN VERS LE TABLE DE BORD -->
       <extension<extension target="org.nuxeo.ecm.platform.actions.ActionService"
        point        point="actions">

        <action        <action id="user_dashboard" link="user_dashboard" label="command.user_dashboard"
            order            order="10">
            <category>USER            <category>USER_SERVICES</category>
            <filter            <filter id="user_dashboard_enabled">
                <rule                <rule grant="true">
                    <condition>#                    <condition>#{userServicesContext.dashboardEnabled}</condition>
                </rule>
            </filter>
            <filter                </rule>
            </filter>
            <filter-id>not_anonymous</filter-id>
        <        </action>

        <        <!-- ON RESERVE LA RECHERCHE D'UTILISATEURS AUX ADMINS -->
        <action        <action id="user_manager" link="#{userManagerActions.viewUsers}"
            label            label="command.manageMembers" order="20">
            <category>USER            <category>USER_SERVICES</category>
            <filter            <filter id="user_manager">
                <rule                <rule grant="true">
                    <condition>#                    <condition>#{userServicesContext.userManagerEnabled}</condition>
                </rule>
            </filter>
            <filter                </rule>
            </filter>
            <filter-id>only_for_manager</filter-id>
        <        </action>

        <        <!-- ON SUPPRIME LE LIEN RECHERCHE AVANCE -->
        <action        <action id="advanced_search" link="search_form" label="command.advancedSearch"
            order            order="10">
            <category>SEARCH            <category>SEARCH_ACTIONS</category>
            <filter            <filter-id>not_anonymous</filter-id>
        <        </action>

        <        <!-- ON SUPPRIME LES ACTIONS DE CREATION DE DOCUMENT POUR ANONYME -->

        <action        <action id="newDocument"
            link            link="javascript:Richfaces.showModalPanel('selectDocTypePanel');"
            label            label="action.new.document" icon="/icons/action_add.gif">
            <category>SUBVIEW            <category>SUBVIEW_UPPER_LIST_HREF</category>
            <filter            <filter-id>create</filter-id>
            <filter            <filter-id>not_anonymous</filter-id>
        <        </action>

        <action        <action id="newFile" link="javascript:Richfaces.showModalPanel('importFile');"
            label            label="action.new.file" icon="/icons/action_add_file.gif">
            <category>SUBVIEW            <category>SUBVIEW_UPPER_LIST_HREF</category>
            <filter            <filter-id>importFile</filter-id>
            <filter            <filter-id>not_anonymous</filter-id>
        <        </action>

        <        <!-- ON SUPPRIME LES LIENS VERS L'ESPACE PERSONNEL ET LE REPOSITORY -->
        <action        <action id="SHOW_REPOSITORY"
            link            link="#{userWorkspaceManagerActions.navigateToOverallWorkspace}"
            enabled            enabled="true" label="command.user.return.to.repository" icon="/icons/go_to_repository.gif"
            order            order="10">
            <category>USER            <category>USER_SERVICES</category>
            <filter            <filter-id>isInsidePersonalWorkspace</filter-id>
            <filter            <filter-id>not_anonymous</filter-id>
        <        </action>

        <action        <action id="SHOW_PERSONAL_WORKSPACE"
            link            link="#{userWorkspaceManagerActions.navigateToCurrentUserPersonalWorkspace}"
            enabled            enabled="true" label="command.user.personal.workspace" icon="/icons/show_personal_workspace.gif"
            order            order="11">
            <category>USER            <category>USER_SERVICES</category>
            <filter            <filter-id>not_anonymous</filter-id>
            <filter            <filter-id>canAccessPersonalWorkspace</filter-id>
        <        </action>
       <</extension>
</component>