Individual group must be defined in an array
Closed this issue · 2 comments
keviny22 commented
When defining a group in the json files it must be defined in an array even if there is only one group. For example:
Defining a group like this works:
"groups": ["sysadmin"],
Defining a group like this does not work:
"groups": "sysadmin",
The following error is observed:
NoMethodError
undefined method `each' for "sysadmin":String
anicholson commented
Given the attribute is "groups", that seems pretty reasonable to me.
keviny22 commented
@anicholson on second thought I agree it is reasonable too.