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

Upload tab displayed in image dialog even if user cannot upload

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 16.10.8
    • CKEditor
    • None
    • Unknown

    Description

      Reproduction steps:

      • Edit CKEditor.EditSheet first JavaScript Object to set:
        var uploadDisabled = true; //element.hasAttribute('data-upload-disabled');
        
      • Start editing a page and open the image dialog

      Expected result:

      • the upload tab shouldn't be displayed

      Obtained result:

      • the upload tab is displayed
      • an error appears when trying to upload an image

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: