• Resolved coderguy

    (@tinocash)


    I’m new to WordPress and the Groups plugin. Is there a way to hide the Registered Group as on option when a user is making a Post. Right now if I give a user access to restrict/access group they see the group I assigned them to as well as the “Registered Group” that every user is automatically assigned to. Is there a way to hide the Registered Group. I would like them to only have the option to assign a Post to the group that I manually assigned them to (and not to the Registered Group).

    Thanks in Advance!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter coderguy

    (@tinocash)

    Is there a repercussion of removing a user from the Registered Group? (e.g. does all users need to be in that group for the plugin to function)

    Plugin Author Kento

    (@proaktion)

    The Registered group plays an important role. Users are automatically added to this group and it is useful to restrict things to those who have an account on the site. Removing this group is not recommended.

    The question related to the ability to post to a group seems to have been resolved in https://ww.wp.xz.cn/support/topic/dont-allow-post-to-anyone/

    Thread Starter coderguy

    (@tinocash)

    thanks @proaktion

    Thread Starter coderguy

    (@tinocash)

    The question isn’t quite resolved. What I’m actually trying to do it DENY the ability to post to the Registered Group when your actually part of that group. E.g. A user is in Group A, Group B, and Registered Group. I want them to only have the capability to post to Group A, and Group B, but NOT Registered Group. Is there a way to set that up with permissions?

    Plugin Author Kento

    (@proaktion)

    Ok thanks for explaining that further. By design, you must be a member of a group to be able to use it to restrict a post, what you’re asking for is indeed a refinement which would require us to be able to say user X can use group Y to restrict posts. Currently the model isn’t as fine-grained as it would have to be to allow you to do that. So … you could use this filter to modify the output for the meta box: groups_access_meta_boxes_groups

    https://github.com/itthinx/groups/blob/master/lib/access/class-groups-access-meta-boxes.php#L253

    Modify the $output to remove the entry:

    <div data-value="1" data-selectable="" class="option">Registered</div>

    Technically this removes the Registered group as being offered as a choice.

    Does that help you?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Hide Registered Group’ is closed to new replies.