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

Allow to create easily read only live data

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 13.10
    • Fix Version/s: None
    • Component/s: Live Data
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      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

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

                Dates

                Created:
                Updated:
                Date of First Response: