Problem to set permissions with module actions_permissions when using multi language

dalf - June 9, 2009 - 16:16
Project:Views Bulk Operations (VBO)
Version:6.x-1.7
Component:Code
Category:bug report
Priority:normal
Assigned:kratib
Status:closed
Description

I use the VBO module in a multi language drupal site (english and french). To define which actions are allowed according to the user role, I use the actions permission module. It works perfectly when I consult the view in the language I used to set the permissions but when I consult the view in the other language, the VBO operations selection list is empty !

I saw that when I save permissions in one language (ex in the english page /admin/user/permissions), it erases permissions in the other language (ex in the french page /fr/admin/user/permissions) so in the view page in english I see the correct operations list according to my permission but in the view page in french the list is empty and I can't perform any actions ...

What can I do to set permissions in every language used in my drupal site ?

#1

kratib - June 9, 2009 - 18:28
Assigned to:Anonymous» kratib

Thanks for your report. I'll work on this issue.

#2

kratib - June 9, 2009 - 21:27
Status:active» fixed

Fixed in the latest dev. Permissions are now displayed with the English label, regardless of the language used. Please try it (12 hours from now) and let me know.

Note that you can still translate the whole permission string "execute Action Label (action_callback)".

#3

dalf - June 10, 2009 - 10:17

Thanks for this quick answer. The latest dev corrects the permissions screen but when I want to edit the view which uses VBO or when I go on the view page, I have this PHP error :

Parse error: syntax error, unexpected ')', expecting ']' in D:\WEB_DRUPAL\sites\all\modules\contribs\views_bulk_operations\views_bulk_operations_plugin_style.inc on line 109

#4

kratib - June 10, 2009 - 14:31

That was a typo that I fixed a while later :-S Try it again now.

#5

dalf - June 10, 2009 - 15:16

Thanks, it works now :-)

#6

System Message - June 24, 2009 - 15:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.