I have been following the 7 simple steps instructions here(http://drupal.org/node/408968).

Installed the latest(non dev) versions of module_grants and revisioning. However if I try and set any of the permissions for modules_grants module I get "An illegal choice has been detected..." error. i have tried setting each one on it's own at a time, just to check.

The role names I have created are simply author and moderator, so don't have any special characters that could be causing issues?

I would really like to get this working as it is the exact functionality I have been looking for.

Any help would be much appreciated.
Paul

Comments

rdeboer’s picture

Thanks for your interest in Module Grants, Paul!

The issue has been reported before and although the majority of users don't have this problem I will be doing some work on this as soon as I have time. See also #566290: Permissions are not allowed to have special chars

In the mean-time, for two possible workarounds see #527512: Single quotes in permission names cause 'Illegal choice' error (initial description and yarma's comment at #6).

Rik

akoopman’s picture

I have run into exactly the same problem, using a Windows environment. We're also testing on a Linux server, but everything ran fine there. Is it possible that this problem has to do with the OS environment?

--Ann

pxlar8’s picture

Same problem, but on a linux server. I get the error even when trying to grant just administrator any permission (while logged in with administrator account, of course).

rdeboer’s picture

Assigned: Unassigned » rdeboer
Status: Active » Fixed

Fix committed to repository.
Development snapshot will be available later today.
When prompted make sure you run the db update (Module Grants #6207).
If you use Revisioning you need to install the latest dev of that too.

fY6LY8vFhwbFbKr’s picture

I've installed module_grants (and revisioning) today and i have to admit that i'm literally blown away. Really good work guy's. Really good.

We want to use a wiki to organize work specifications (including an Pending-and-Approve Workflow) and in the last couple of weeks i've examined MediaWiki, TikiWiki and other dedicated Wiki Systems.

Thank God i got the inspiration to give drupal a try (we already manage our web sites with drupal) and these two modules (module_grants and revisioning) outperforms every wiki system i've examined by far (concerning Pending-and-Approve Workflow)...

To come to business:
When do you plan the next releases of these two modules? I'm a little bit afraid of dev snapshots; Should i wait for the next releases or is it not a problem at all to use the latest dev's?

Keep on your excellent work.

Greetings
Martin

P.s.: Sorry for my bad English (i'm working on it)...

rdeboer’s picture

Thank you so much for your wonderful feedback Martin!
I'm very pleased that Module Grants and Revisioning are useful to you.
To answer your question, in general I keep modules in "dev" until I feel they're stable. By that I mean the community has confirmed that the latest modifications indeed work or at least hasn't mentioned that they don't work.
You can find on the Module Grants and Revisioning project pages what the differences are between the latest official release and the development snapshot. If the development snapshot doesn't have anything extra that you need for your site, then you may want to use the latest official release instead.
As far as the issue of this thread is concerned, the worst that can happen if you find a problem with it is that after re-install of the older official release you may have to set the User management >> Permissions for module grants again, as the names will have changed (w.r.t. quotes).
Rik

PS: nothing wrong with your English!

fY6LY8vFhwbFbKr’s picture

Hello Rik,

thank you for your quick reply. I've installed the dev versions of the two modules and i've discovered no problems so far...

Thank you very much for these wonderful modules...

Greetings
Martin

Status: Fixed » Closed (fixed)

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