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/
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?