ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Is "log in as member" limited to Super Admins?

June 01, 2011 10:51am

Subscribe [4]
  • #1 / Jun 01, 2011 10:51am

    John St-Amand

    865 posts

    My client wants to have the ability to log in as a customer/member to make adjustments to entries on their behalf.  The client has a member group of Client Master Admin but my adding access for their group to member administration, etc. still did not result in the “log in as member” link being available in their control panel as it does for a super admin.  I’m reluctant to give them Super Admin privileges though because they would then be able to access templates and modules that they really do not need access to.  Is there any way to grant “log in as member” privileges to a member group or is Super Admin access required for that function?

    Thanks,
    John

  • #2 / Jun 01, 2011 10:57am

    Kernon

    173 posts

    Why wouldn’t (under Section Posting Privileges) turning on “Can edit entries authored by others” be sufficient?

  • #3 / Jun 01, 2011 11:05am

    John St-Amand

    865 posts

    We’re using a CartThrob-enabled module for a gift registry that can’t really easily be administered in the CP, it has to be done through the front end.  SO logging on as the customer is the best option to do this that I can see, particularly because items are added to the registry list on the basis of the logged in user’s member ID.

  • #4 / Jun 01, 2011 3:42pm

    If you’re willing to hack, change cp.members.php, around line 706, to include the id of the member group you wish to allow.

    if ($SESS->userdata['group_id'] != 1 )
            {
                if ($SESS->userdata['group_id'] != YOURGROUPID )
                {
                        return $DSP->no_access_message();
                }
            }

         

    Usual backup, upkeep, etc caveats apply.

  • #5 / Jun 01, 2011 4:15pm

    Sue Crocker

    26054 posts

    Thanks for the assist, Kernon and Dylan.

    John, Dylan’s suggestion does involve a hack, and you’d need to maintain this between versions. Does that help?

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases