Answer by Mladen Jablanović for Handle arrays/hashes from table text columns →
First you should separate the text column in at least two, so that the table looks like:
(user_id, action, is_permitted)
or, even,
(user_id, action_id, is_permitted)
Another possible…