Context
Social media app with users who can control which users can see them based on their school.
Works with text
I got privacy rules working great when each user had a field allowedFields and a data rule that checked if This User’s allowedFields contains Current User’s school.
Does not work with option set
I wanted to store more information with each school (e.g. school’s address) than just the name, so I switched to Option Sets. I named this option set Schools and replaced user fields for allowedFields with allowedEducation and school with education. However the privacy rule no longer works with This User’s allowedEducation contains Current Users’s education.
Does contains not working for Option Sets? Or am I missing something?