Forum

Thread tagged as: Gallery

deleting album in gallery user role options

Hi

I noticed that there is no option under the gallery user roles to allow someone to delete albums. The only options available are Access the gallery, Create albums and Upload images. Is there anyway to allow non admin users to delete gallery albums?

Peter Meenagh

Peter Meenagh 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

It looks like you'd need to enable the perch_gallery.album.delete privilege, which you should be able to do by turning on privilege assist and visiting the album listing page.

In your perch/config/config.php file:

define('PERCH_PRIV_ASSIST', true);

Hi Drew

Apologies for the late reply. I've done that in the config and then visited the album listing page but it is still not allowing an editor to delete an album.

Any ideas how to fix this?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Does the privilege now appear in the list?

It doesn't appear in the user roles list. Is there anything I'm missing that I should have entered?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Entered where, sorry?

Editing ‘Editor’ Role under 'Listing all user roles'

I've also gone into the Album Listings are there isn't an option to delete an album here

Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you logged in as the primary user?

I'm logged in as the editor when accessing the album listing. When I'm editing user roles I'm logged in as Admin

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you post your diagnostics report?