Item8519: ALLOWED column of TRANSITION TABLE parsed as Perl array instead of a standard list. (Behavior: members of groups listed in ALLOWED column of TRANSITION TABLE are unable to transition the topic.)
Priority: Normal
Current State: New
Released In:
Target Release: n/a
If groups are listed in the ALLOWED column of the TRANSITION TABLE, the entries of the column must be specified using a perl array syntax (i.e., either enclosing the list in parenthesis or using the qw/array contents/ syntax). This is because the ALLOWED column is parsed as an array. For some bizarre reason, if users are specified instead of groups, it works OK. In a mixed scenario (groups and users) users listed by their wikiusername will be able to transition, but those who are listed only through their group affiliation will not.
The ALLOWEDIT column of the STATE TABLE is parsed as a list.
This is a bit confusing - perhaps both be parsed as lists? I don't know what the ramifications are to doing that, so I'll suffer with the weirdness for now, but perhaps it's something to add to the list of things to do.
I had to track this down in the code where I saw that ALLOWED is parsed using the _userInArray subroutine and ALLOWEDIT is parsed using _userInList routine.
--
MatthewDent - 13 Feb 2010