Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCU-407

Disabling edit/move/delete buttons on a component

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • None
    • None
    • None
    • None
    • Yes

      Setting of components permissions in template availability (see permissions.png):

      • somearea
        • permissions
          • move/delete/write
            • property with group name
            • property with group name
              ...

      This setting can be rewriten by new boolean template properties (see templateProperties.png):

      • moveable
      • deletable
      • writable

      Example:

      1. Add property moveable=true to some component template (stkFQAItem).
      2. Add property deletable=false to this component template (stkFQAItem).
      3. Look how the component bar of this component looks on the page (in edit mode):
      • The button for deleting component is now hidden.
      • The buttons for editing and moving are shown (if you don't set the permission then the button is shown by default (writable permission in this example).

        Acceptance criteria

          1. bars.png
            bars.png
            89 kB
          2. permissions.png
            permissions.png
            187 kB
          3. templateProperties.png
            templateProperties.png
            190 kB

              ruths Ruth Stocks
              rkovarik Roman Kovařík
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: