Project

General

Profile

« Previous | Next » 

Revision 0bd095d9

Added by Katja Luther over 7 years ago

fix #5971: admin menu is visible only if connected and user has role manager

View differences:

eu.etaxonomy.taxeditor.store/plugin.xml
675 675
      <handler
676 676
            class="eu.etaxonomy.taxeditor.handler.OpenDatabasePreferencesWizardHandler"
677 677
            commandId="eu.etaxonomy.taxeditor.store.open.OpenDatabasePreferencesWizardHandler">
678
            <activeWhen>
679
            <reference
680
                  definitionId="hasROLE_PROJECT_MANAGER">
681
            </reference>
682
         </activeWhen>
678 683
      </handler>
679 684
      <handler
680 685
            class="eu.etaxonomy.taxeditor.handler.SwitchUserHandler"
......
765 770
            id="eu.etaxonomy.taxeditor.store.open.OpenDistributionEditorWizardHandler"
766 771
            name="%command.name.11">
767 772
      </command>
773
       <command
774
            id="eu.etaxonomy.taxeditor.store.open.OpenDatabasePreferencesWizardHandler"
775
            name="%command.name.15">
776
      </command>
777
      
768 778
      <command
769 779
            defaultHandler="eu.etaxonomy.taxeditor.view.datasource.handler.ChangeConnectionHandler"
770 780
            id="eu.etaxonomy.taxeditor.datasource.connect"
......
807 817
               typeId="eu.etaxonomy.taxeditor.uuidParameterType">
808 818
         </commandParameter>
809 819
      </command>
820
      <command
821
            defaultHandler="eu.etaxonomy.taxeditor.handler.OpenDatabasePreferencesWizardHandler"
822
            id="eu.etaxonomy.taxeditor.application.DatabaseSettings"
823
            name="%command.label.23">
824
      </command>
810 825
   </extension>
811 826
   <extension
812 827
         point="org.eclipse.ui.commands">

Also available in: Unified diff