Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-18726

The rights action is never displayed in the livetable using getdocuments.vm

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 12.10.7, 13.4
    • None
    • Unknown

    Description

      The livetable displaying listings of documents by calling getdocument.vm cannot display the rights action in the action column.

      Cause:

      see https://github.com/xwiki/xwiki-platform/blob/bd419a583691c1156a38e44022781ae876932da0/xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-templates/src/main/resources/templates/getdocuments.vm#L176

      hasrigths is not affected in $row following the pattern used for the other rights.

      $isAdvancedUser is undefined, hence considered as false, making hasrights always false.

       

      Impacted locations :

      • children.vm
      • deletespace.vm
      • getdocuments.vm
      • siblings.vm
      • delete.vm

      Attachments

        Activity

          People

            Unassigned Unassigned
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: