2
OK - I think I finally found a working solution.
Mind you - I haven't had the time to test it thoroughly.
Following some other threads here and there (primarily this
one) I decided to hunt down all instances of checkRight anywhere in the module.
For instance in qcm_menu.php (but also elsewhere):
if ( $gperm_handler -> checkRight( 'Droits des categories', $row['id_form'], $groups, $formulaireModule->getVar('mid') ) ) {
Notice the French Droits des categories - apparently this should have been coded so that it looked up the word in the language file or some such thing. What I did was to change the French to English (since my site runs in English - for the time being).
It thus becomes:
if ( $gperm_handler -> checkRight( 'Permissions of the categories', $row['id_form'], $groups, $formulaireModule->getVar('mid') ) ) {
The wording has to correspond to something somewhere - sorry, I don't quite get it myself so I won't pretend I know what I am talking about.
Well, anyway, it seems to work though more testing is needed.
Vargr
- 狼 -