There is stg wrong between the OG_user_roles and Workflow modules (see also http://drupal.org/node/207951, but I suspect OG_user_roles, as described later)
I have defined some user-role. When an user is given this role for whole site (via setup in /user/###/edit ... Role: checkboxes), the Workflow tab on appropriate node works fine (displays both State-change and Schedule-state-change parts of its form). I think this verifies that the target module + permission system + user-role works fine on my site.
As opposite: when the same user gets the same role via OG_user_roles module (within his OG instead of whole site), the Workflow tab (/node/###/workflow) seems corrupted, as if corresponding role (which allows the needed Schedule-workflow-transition permission) is lost for a moment.
I've turned on the log into og_user_test table: There are 3 new records per each process (rendering of the workflow form). Two of them seems fine, every column has probably the correct value, but one record constantly shows the value of testGroup = 0 and corresponding testPerm doesn't contain the expected role-name, so user_role is not substituted right at the moment. It behaves like the user has no such role and the Workflow module logically handles that result from OG_user_roles ("hmm, this user is not allowed to...").
FYI: If you already know the Workflow module usage, the /node/###/workflow infos are visible on extended node edit form too /node/###/edit. IMHO there is the same permission Schedule-workflow-transition evaluated - and it works fine for the same node+user+OG_role. :-o
Note: I was on OG_user_roles 2.5, but upgrading to 2.6 version doesn't help.
Comments
Comment #1
somebodysysop commentedAn update for this issue has been included in latest OGR release. Please upgrade to OG User Roles 5.x-2.7 and test to see if it resolves the issue. Thanks.
Comment #2
mblazke commentedThanks for quick response, SS
Yes, it seems resolved at first sight.
[As stated above, the issue appeared in relation of Workflow module which has its own permissions too, moreover complicated on my site because of bussiness rules (node states, user roles etc) - so I need to continue testing updated OG User Roles 5.x-2.7 deeper. I'll give full feedback here next week.]
Have a nice weekend
Comment #3
mblazke commentedOK, verified, the 5.x-2.7 fixes the issue.
Thanks again.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.