Newb: Bulk upload suddenly not available

Created on 23 November 2018, about 6 years ago
Updated 16 February 2023, almost 2 years ago

Hi,

I had the bulk upload feature working beautifully and now it's gone suddenly, for all users.

What might I have done? No modules have been disabled. It's the same for the admin user so it's not permissions...

Simon

💬 Support request
Status

Postponed: needs info

Version

3.1

Component

Miscellaneous

Created by

🇬🇧United Kingdom SMartin

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.

  • 🇨🇦Canada teknocat

    I noticed the same problem and then discovered why it had disappeared.

    My all powerful role could see it, but not any other users. I also noticed that the old permission for lightning media bulk upload was removed, so I took a closer look at the module's routing file. I saw that it now requires the user to have both "create media" and "dropzone upload files" permissions.

    This is no good for us because we do not want to necessarily grant general "create media" permissions to all users. Yet we still want those users to be able to bulk upload media for the types they do have permission to create. The old permission did the trick nicely for this.

    I can see the value in having a more robust permission check, but I think it needs to have a permission handler function, rather than just a list of permissions, so that it can check for all the individual media type create permissions as well as the general "create media". If I can come up with a patch to take care of that I'll submit it when I have time.

  • 🇨🇦Canada teknocat

    By the way, I think a fix for this will go very nicely alongside a solution to https://www.drupal.org/project/lightning_media/issues/3097516 Bulk media upload should have an option to select the target media entity bundle Needs work .

  • 🇨🇦Canada teknocat

    Ok, it seems I may have misunderstood what changed, as looking back it seems the bulk upload has always needed the "create media" and "dropzone upload files" permission combo. I'll have to dig around a little bit more, it seems.

Production build 0.71.5 2024