Add Link dialog - IMCE "Open File Browser" button is missing except for the user ID 1

Created on 13 January 2023, almost 2 years ago
Updated 9 February 2023, almost 2 years ago

Problem/Motivation

Inside the "Add link" dialog, there is a link "Open File Browser".
Issue: It is only visible for the main admin user with ID 1.
For any other Administrator role users, it is not visible.

Expected outcome: "Open File Browser" link is visible to other Administrators too.

Background info / what was tested:

System has filesystem set to private.
I've tested disabling the "Enable image upload" in the "Basic HTML" settings to see if it changes something but no luck.
I've also tested with Full HTML, no luck.
It seems that in the imce.module, the imce_process_url_element() does not fire - the URL input field does not get the data-imce-type="link" attribute, which seems to be required for the file browser popup link to be added by the imceInput.processUrlInput.

IMCE version: 8.x-2.4
Drupal version: 9.3.9

πŸ’¬ Support request
Status

Closed: works as designed

Version

2.4

Component

User interface

Created by

πŸ‡ͺπŸ‡ͺEstonia adroid

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States joshuasosa

    I also ran into this same situation! I have other sites where that link to open the file browser shows in the regular ckeditor link dialog, but one site where it was missing. It's because I set up the private file system and needed to assign an IMCE profile for the role for private files. Thanks for the clue!

Production build 0.71.5 2024