Autocomplete does not work if 'Administer Content' permission not enabled

Created on 12 December 2022, almost 2 years ago
Updated 3 April 2023, over 1 year ago

I noticed today that if the 'Administer content' permission is not set for a role then Linkit does not work. The autocomplete does not give any options to select pages that match what is typed and the link acts just like the default Drupal link button. Once 'Administer content' permission is granted then the Linkit Autocomplete works again.

We do not allow all users to have 'Administer content' for security reasons but would like to allow them to use Linkit for their linking needs. Any help would be appreciated.

Steps to reproduce:

  1. Create a secondary user role and remove 'Administer content' permission
  2. Log in as a user with this secondary role
  3. Go to a CK Editor window and create a link
  4. See the autocomplete not populate
πŸ› Bug report
Status

Closed: cannot reproduce

Version

6.0

Component

Code

Created by

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 mark_fullmer Tucson

    I am not able to reproduce the reported behavior on a generic Drupal 10 site, using either CKEditor 5 or the legacy CKEditor 4 (which is now a contributed module).

    1. Is it possible you encountered this problem on a site that has other modules installed?
    2. Are you seeing any Javascript errors in the browser console

  • Status changed to Closed: cannot reproduce over 1 year ago
  • Looks like it solved itself or was an issue happening locally for me. I withdraw my issue.

Production build 0.71.5 2024