Title: Integrate Groups with View Admin As
Last modified: October 31, 2016

---

# Integrate Groups with View Admin As

 *  [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/integrate-groups-with-view-admin-as/)
 * Hey Groups team!
 * After the next release (this week) I’d like to add support for Groups in my plugin(
   [https://wordpress.org/plugins/view-admin-as/](https://wordpress.org/plugins/view-admin-as/))
   so developers can view their sites as a group member without the need of actually
   being a group member.
    This prevents the hassle of logging in and out constantly.
 * Are there any roadblocks I need to be aware of when working with Groups or is
   it all fairy straight forward?
    I’ll be diving in your plugin next week. Let 
   me know!
 * Regards, Jory

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

 *  Plugin Author [Kento](https://wordpress.org/support/users/proaktion/)
 * (@proaktion)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/integrate-groups-with-view-admin-as/#post-8395011)
 * Hi Jory,
 * That sounds like a great idea, I’m looking forward to give it a try!
 * Do you plan on doing this with a temporary assignment to the desired group? I
   think that would be the most simple way to approach it.
 * Cheers
 *  Thread Starter [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/integrate-groups-with-view-admin-as/#post-8396060)
 * Hi [@proaktion](https://wordpress.org/support/users/proaktion/),
 * Yes, I hook into WP at a very early stage and change the known values like current
   user, role or anything while making a backup in my class files.
 * I already got it working for a bit:
    – Getting the groups, no problem – Filter
   the `groups_user_can` seems to work aswell (groups capabilities)
 * The only problem I get is that I can’t find a filter to set group of the current
   user. (I don’t want to store any information into the database.)
 * Is there a simple filter like `groups_is_member` or something?
 * Thanks!
 *  Thread Starter [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/integrate-groups-with-view-admin-as/#post-8396554)
 * [https://github.com/itthinx/groups/pull/59](https://github.com/itthinx/groups/pull/59)
 *  Thread Starter [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/integrate-groups-with-view-admin-as/#post-8396680)
 * Hi [@proaktion](https://wordpress.org/support/users/proaktion/),
 * I’ve made a new branche on GH for this integration.
    The current version requires
   PR 59 (see comment above) so it can filter the user-group relations.
 * [https://github.com/JoryHogeveen/view-admin-as/tree/module-groups](https://github.com/JoryHogeveen/view-admin-as/tree/module-groups)
 * Shortcodes and page restrictions are working, are there any other features I 
   should know about?
    Currently all other capabilities are set from the current
   user (site admin) so all normal WP capabilities are “true”.
 * How does your plugin integrate with other roles? Does it work side-by-side or
   does it fully integrate in the existing capabilities?
 * NOTE: Currently the selected group is set within PHP (not the dropdown).
    See:
   view-admin-as/modules/class-groups.php Line 60
 * Will make a commit that enables the dropdown a.s.a.p. (Not sure wether to add
   a new .js file for this or not..)
 * Let me know!
 * Cheers, Jory
 *  Thread Starter [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/integrate-groups-with-view-admin-as/#post-8397229)
 * All functionality for now updating works. You can ignore the note on the PHP 
   file.
 *  Thread Starter [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/integrate-groups-with-view-admin-as/#post-8415377)
 * [@proaktion](https://wordpress.org/support/users/proaktion/)
 * Is there a way to contact you or another dev directly? If possible I’d like to
   have this integration ready for the nest “major” release!
 * Regards, Jory
 *  Thread Starter [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/integrate-groups-with-view-admin-as/#post-8520804)
 * Hi [@proaktion](https://wordpress.org/support/users/proaktion/),
 * You still there? 😉
 * Cheers, Jory
 *  Thread Starter [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/integrate-groups-with-view-admin-as/#post-8923271)
 * Hi [@proaktion](https://wordpress.org/support/users/proaktion/),
 * Any chance my questions and PR’s get a reply?
    If not that’s ok as well, I’ll
   scrap it from my whishlist then.
 * Cheers, Jory
 *  [Abigailm](https://wordpress.org/support/users/abigailm/)
 * (@abigailm)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/integrate-groups-with-view-admin-as/#post-8923937)
 * Jory, the developers might be missing your question because you are reviving 
   an old thread – but their web site is [http://www.itthinx.com/](http://www.itthinx.com/)
   and their email is written on the “Contact” page of their site — so that is probably
   the best way to initiate communication.
 * I like your idea, by the way. It is definitely something I would use.
 *  Thread Starter [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/integrate-groups-with-view-admin-as/#post-8924225)
 * [@abigailm](https://wordpress.org/support/users/abigailm/)
 * I did that at that time as well, also created two pull requests on GH so you 
   might thing someone must have seen it ;).
    But fair enough, I’ll try it again!
 * Regards, Jory
 *  Thread Starter [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years ago](https://wordpress.org/support/topic/integrate-groups-with-view-admin-as/#post-9097668)
 * Still nothing..

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

The topic ‘Integrate Groups with View Admin As’ is closed to new replies.

 * ![](https://ps.w.org/groups/assets/icon-256x256.png?rev=983146)
 * [Groups](https://wordpress.org/plugins/groups/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/groups/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/groups/)
 * [Active Topics](https://wordpress.org/support/plugin/groups/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/groups/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/groups/reviews/)

## Tags

 * [administrator](https://wordpress.org/support/topic-tag/administrator/)
 * [group](https://wordpress.org/support/topic-tag/group/)
 * [view](https://wordpress.org/support/topic-tag/view/)

 * 11 replies
 * 3 participants
 * Last reply from: [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/integrate-groups-with-view-admin-as/#post-9097668)
 * Status: not a support question