Only superuser can bulk export

robobeau - June 17, 2009 - 15:50
Project:Node Export
Version:5.x-2.1
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

Hey there. Just wanted to point out a small bug in the D5 version.

Don't know if this was part of a Bulk Permissions that was left unfinished, or a simple mistake, but in the "export_node_operations()" function, on line 114, there permission for bulk exporting seems incorrect:

if (user_access('export bulk nodes')) {

should be:

if (user_access('export node')) {

I had to alter the code so that non-superusers could bulk export. Hope that helps!

#1

danielb - June 18, 2009 - 00:45
Status:active» fixed

This is now a permission in the new release.

#2

System Message - July 2, 2009 - 00:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.