Granular group-based permissions for anonymous and logged in users

hey Martin - question:

i just did a full update of my instance, and i am now adding the disallowed_groups object setting to my component for everyone and anonymous_users based on the auto group ids here:

like this:

      groups:
        type: groups
        disallowed_groups: "0|4"
        required: true
        resolve_group_membership: true
        validations:
          max: 20

but it is still showing everyone in the component group dropdown setting:

what am i doing wrong in the object setting? i notice that even without the disallowed_groups in the objects, it still doesn’t show the anonymous_users group (so at the moment, there is no difference between the list in my component whether i set disallowed_groups or not). i tested with other group ids and i must be doing something wrong with how i am using disallowed_groups (or syntax) because it doesn’t seem to have any effect regardless of which ones i use.

4 Likes