Galaxy v17.09 impersonation doesn't work

classic Classic list List threaded Threaded
5 messages Options
| Threaded
Open this post in threaded view
|

Galaxy v17.09 impersonation doesn't work

Ping
The impersonation feature in Galaxy v17.09 doesn't work as expected.

After clicking the person to impersonate, the webpage shows "you have now logged in as xxx, return to home page', where 'xxx' is the name of the person I want to impersonate. So far so good. But after I click home, and check the login information, the login name is still myself.

Is there anything I missed in the configuration file?

Thanks,

Ping

___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/
| Threaded
Open this post in threaded view
|

Re: Galaxy v17.09 impersonation doesn't work

Hans-Rudolf Hotz
Hi Ping

The 'impersonate a user' function works for me with v17.09.


I assume, you have set: "allow_user_impersonation = True" in the
galaxy.ini file?


Do you encounter this problem, for the first time, i.e did it work
before using (v17.05 or earlier) and you only have the issues after
upgrading?

What database do you use?

Do you use external authentication?


Regards, Hans-Rudolf





On 12/18/2017 05:22 PM, Ping Luo wrote:

> The impersonation feature in Galaxy v17.09 doesn't work as expected.
>
> After clicking the person to impersonate, the webpage shows "you have
> now logged in as xxx, return to home page', where 'xxx' is the name of
> the person I want to impersonate. So far so good. But after I click
> home, and check the login information, the login name is still myself.
>
> Is there anything I missed in the configuration file?
>
> Thanks,
>
> Ping
>
>
> ___________________________________________________________
> Please keep all replies on the list by using "reply all"
> in your mail client.  To manage your subscriptions to this
> and other Galaxy lists, please use the interface at:
>    https://lists.galaxyproject.org/
>
> To search Galaxy mailing lists use the unified search at:
>    http://galaxyproject.org/search/
>
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/
| Threaded
Open this post in threaded view
|

Re: Galaxy v17.09 impersonation doesn't work

Ping
Hans-Rudolf,

Yes, I have set the flag to be true

    # Allow administrators to log in as other users (useful for debugging)
    allow_user_impersonation = True

We use CAS authentication and our database is Postgresql. Our current Galaxy is v15.07 and impersonation works well. I have tried v16.10 before and impersonation didn't work either.

Thanks,

Ping

On Tue, Dec 19, 2017 at 5:12 AM, Hans-Rudolf Hotz <[hidden email]> wrote:
Hi Ping

The 'impersonate a user' function works for me with v17.09.


I assume, you have set: "allow_user_impersonation = True" in the galaxy.ini file?


Do you encounter this problem, for the first time, i.e did it work before using (v17.05 or earlier) and you only have the issues after upgrading?

What database do you use?

Do you use external authentication?


Regards, Hans-Rudolf






On 12/18/2017 05:22 PM, Ping Luo wrote:
The impersonation feature in Galaxy v17.09 doesn't work as expected.

After clicking the person to impersonate, the webpage shows "you have
now logged in as xxx, return to home page', where 'xxx' is the name of
the person I want to impersonate. So far so good. But after I click
home, and check the login information, the login name is still myself.

Is there anything I missed in the configuration file?

Thanks,

Ping


___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
   https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
   http://galaxyproject.org/search/



___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/
| Threaded
Open this post in threaded view
|

Re: Galaxy v17.09 impersonation doesn't work

Hans-Rudolf Hotz
Hi Ping


Does it work with a fresh installation ( v17.09) staring with an empty
PostgrSQL database?


Hans-Rudolf

On 12/19/2017 03:41 PM, Ping Luo wrote:

> Hans-Rudolf,
>
> Yes, I have set the flag to be true
>
>      # Allow administrators to log in as other users (useful for debugging)
>      allow_user_impersonation = True
>
> We use CAS authentication and our database is Postgresql. Our current
> Galaxy is v15.07 and impersonation works well. I have tried v16.10
> before and impersonation didn't work either.
>
> Thanks,
>
> Ping
>
> On Tue, Dec 19, 2017 at 5:12 AM, Hans-Rudolf Hotz <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi Ping
>
>     The 'impersonate a user' function works for me with v17.09.
>
>
>     I assume, you have set: "allow_user_impersonation = True" in the
>     galaxy.ini file?
>
>
>     Do you encounter this problem, for the first time, i.e did it work
>     before using (v17.05 or earlier) and you only have the issues after
>     upgrading?
>
>     What database do you use?
>
>     Do you use external authentication?
>
>
>     Regards, Hans-Rudolf
>
>
>
>
>
>
>     On 12/18/2017 05:22 PM, Ping Luo wrote:
>
>         The impersonation feature in Galaxy v17.09 doesn't work as expected.
>
>         After clicking the person to impersonate, the webpage shows "you
>         have
>         now logged in as xxx, return to home page', where 'xxx' is the
>         name of
>         the person I want to impersonate. So far so good. But after I click
>         home, and check the login information, the login name is still
>         myself.
>
>         Is there anything I missed in the configuration file?
>
>         Thanks,
>
>         Ping
>
>
>         ___________________________________________________________
>         Please keep all replies on the list by using "reply all"
>         in your mail client.  To manage your subscriptions to this
>         and other Galaxy lists, please use the interface at:
>         https://lists.galaxyproject.org/ <https://lists.galaxyproject.org/>
>
>         To search Galaxy mailing lists use the unified search at:
>         http://galaxyproject.org/search/ <http://galaxyproject.org/search/>
>
>
___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/
| Threaded
Open this post in threaded view
|

Re: Galaxy v17.09 impersonation doesn't work

Ping
Hans-Rudolf,

I just started a brand new galaxy with the default internal database. I did the minimal change to galaxy.ini so that I could use CAS authentication. Still, impersonation failed.


Ping

On Wed, Dec 20, 2017 at 3:02 AM, Hans-Rudolf Hotz <[hidden email]> wrote:
Hi Ping


Does it work with a fresh installation ( v17.09) staring with an empty PostgrSQL database?


Hans-Rudolf

On 12/19/2017 03:41 PM, Ping Luo wrote:
Hans-Rudolf,

Yes, I have set the flag to be true

     # Allow administrators to log in as other users (useful for debugging)
     allow_user_impersonation = True

We use CAS authentication and our database is Postgresql. Our current
Galaxy is v15.07 and impersonation works well. I have tried v16.10
before and impersonation didn't work either.

Thanks,

Ping

On Tue, Dec 19, 2017 at 5:12 AM, Hans-Rudolf Hotz <[hidden email]
<mailto:[hidden email]>> wrote:

    Hi Ping

    The 'impersonate a user' function works for me with v17.09.


    I assume, you have set: "allow_user_impersonation = True" in the
    galaxy.ini file?


    Do you encounter this problem, for the first time, i.e did it work
    before using (v17.05 or earlier) and you only have the issues after
    upgrading?

    What database do you use?

    Do you use external authentication?


    Regards, Hans-Rudolf






    On 12/18/2017 05:22 PM, Ping Luo wrote:

        The impersonation feature in Galaxy v17.09 doesn't work as expected.

        After clicking the person to impersonate, the webpage shows "you
        have
        now logged in as xxx, return to home page', where 'xxx' is the
        name of
        the person I want to impersonate. So far so good. But after I click
        home, and check the login information, the login name is still
        myself.

        Is there anything I missed in the configuration file?

        Thanks,

        Ping


        ___________________________________________________________
        Please keep all replies on the list by using "reply all"
        in your mail client.  To manage your subscriptions to this
        and other Galaxy lists, please use the interface at:
        https://lists.galaxyproject.org/ <https://lists.galaxyproject.org/>

        To search Galaxy mailing lists use the unified search at:
        http://galaxyproject.org/search/ <http://galaxyproject.org/search/>




___________________________________________________________
Please keep all replies on the list by using "reply all"
in your mail client.  To manage your subscriptions to this
and other Galaxy lists, please use the interface at:
  https://lists.galaxyproject.org/

To search Galaxy mailing lists use the unified search at:
  http://galaxyproject.org/search/