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

Right declaration must take into account i18n=false

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.LATER
    • 4.2.4
    • None
    • None
    • 1 - Middle term
    • 2 - Normal

      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)

            Unassigned Unassigned
            lbouchet Loïc Bouchet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: