Best practice forum (Archived)

Die Forendiskussion wurde entfernt

 
Dieser Forumsbeitrag wurde entfernt
Monday, 28. November 2011, 14:57
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
Simon Coggins
Re: Admin unable to login as others
von Simon Coggins – Monday, 28. November 2011, 15:13
Gruppe Totara

Hi Sonia,

Is the person you are trying to login as an administrator? That is not allowed (for security reasons). Can you try logging in as someone who isn't an admin and see if you have the same problem?

Simon

Dieser Forumsbeitrag wurde entfernt
Monday, 28. November 2011, 15:24
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
Craig Eves
Re: Admin unable to login as others
von Craig Eves (Totara Support) – Monday, 28. November 2011, 15:32
Gruppe Totara

Hi Sonia

A couple of things to check for the admin role

Check that the user who is the admin is assigned the role at a system level

Users > Permissions > Assign system roles

Check that the admin role has moodle/user:loginas set as allow

Users > Permissions > Define roles

If this looks right then I will need  more details on your Totara install.

Craig

Dieser Forumsbeitrag wurde entfernt
Monday, 28. November 2011, 15:44
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
Craig Eves
Re: Admin unable to login as others
von Craig Eves (Totara Support) – Monday, 28. November 2011, 17:18
Gruppe Totara

Hi Sonia

Thanks for the information - can you create a new user and assign them the admin role at system level and sign in as this user and see if the login as works.

There may another role assigned to the admin user or something overriding the role assignment.

Craig

Dieser Forumsbeitrag wurde entfernt
Monday, 28. November 2011, 17:35
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
Simon Coggins
Re: Admin unable to login as others
von Simon Coggins – Monday, 28. November 2011, 19:29
Gruppe Totara

I've looked at the code and these are the things that could cause the button to not appear:

  • The user has been deleted
  • You are viewing your own profile
  • The user viewing is already logged in as someone else
  • The user viewing doesn't have the 'loginas' capability in the context that they are viewing the profile in
  • The user being viewed has the doanything capability in the context that the viewer is viewing the profile in
Since it's not the first three, it seems likely that it is a permissions issue, most likely a role override somewhere - unless the doanything capability has been given to another role?
Is it possible for us to get access to the site so we can check the settings? If you can send me the url and a login to simon.coggins@totaralms.com it should make it easier to track down.
Simon
Dieser Forumsbeitrag wurde entfernt
Monday, 28. November 2011, 20:45
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
Simon Coggins
Re: Admin unable to login as others
von Simon Coggins – Monday, 28. November 2011, 22:46
Gruppe Totara

Hi Sonia,

I assume you mean 'user has not been deleted' for that first bullet point.

I'll await the meeting invite - I should be online from 9am New Zealand time.

Simon

Dieser Forumsbeitrag wurde entfernt
Tuesday, 29. November 2011, 14:10
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.
Dieser Forumsbeitrag wurde entfernt
Monday, 28. November 2011, 21:23
Der Inhalt des Forumsbeitrags wurde gelöscht und kann nicht weiter angezeigt werden.