I need to create a view that displays saved content with defined field values to users with specific attributes. I.E.
content form with a field boolean of regulated: [0] unregulated [1] regulated [2] both
the view needs to display this content depending upon the user profile value for whether that user is licensed or not. field value of both needs to display regardless of profile value for licensed.
profile field licensed is a boolean. 0 non-licensed, 1 licensed.
There will be content marked as regulated that needs only to be displayed to licensed users, content that is not regulated that needs only to be displayed to non licensed users, and content that is marked for both that needs to be displayed to both licensed and non-licensed users.
Can this be done in views or do I need to write custom php to accomplish this?