Problem to set permissions with module actions_permissions when using multi language
| Project: | Views Bulk Operations (VBO) |
| Version: | 6.x-1.7 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | kratib |
| Status: | closed |
Jump to:
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
Thanks for your report. I'll work on this issue.
#2
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
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
That was a typo that I fixed a while later :-S Try it again now.
#5
Thanks, it works now :-)
#6
Automatically closed -- issue fixed for 2 weeks with no activity.