Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-3245

Right declaration must take into account i18n=false

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.9.0
    • 4.2.4
    • None
    • 4.9.0 RC1
    • 1 - Middle term
    • 2 - Normal
    • Oui

      1. Declare a right in your plugin.xml with i18n="false" for label and description :

      <extension point="org.ametys.core.right.RightsExtensionPoint"
                             id="rights.specification.content">
                      <right id="Rights_Specification_Content">
                          <label i18n="false">Créer une spécification</label>
                          <description i18n="false">Autorise la création d'un contenu 'Spécification'</description>
                          <category i18n="true">plugin.cms:PLUGINS_CMS_RIGHTS_CONTENT_CREATE_CATEGORY</category>
                      </right>
      </extension>
      

      2. Go to the right panel, you see the following label for this right (see the i18nRight.png)

            raphael Raphaël Franchet
            lbouchet Loïc Bouchet
            Raphaël Franchet Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: