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

Allow to create easily read only live data

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 13.10
    • Live Data
    • None
    • Unknown

    Description

      AFAIK Live Data are automatically made editable if the returned data (when using LiveTable source) contained an `has_edit` field. In such case it's possible to disable the in-place editing behaviour, but it's only doable by column, such as in:

      {
              "id": "filechange_author",
              "displayer": "html",
              "editable": false
            },
            {
              "id": "doc.location",
              "editable": false
            },
            {
              "id": "filechange_type",
              "editable": false
            },
            {
              "id": "filechange_version",
              "editable": false
            },
            {
              "id": "filechange_documentVersion",
              "editable": false
            }
      

      It would be really handy to be able to express that an entire Live Data is readonly.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: