Re: [Dhis2-devs] BUG - 2.27 - Logged as different user

2017-09-21 Thread Knut Staring
Hi Ramon, does your setup involve nginx? Have you tried disabling the nginx
cache?

Knut

On Fri, Sep 1, 2017 at 12:15 PM, Ramón José Jiménez Pomareta <
dh...@pomareta.ch> wrote:

> Hello, Thank you both for the answers :
>
> Knut:
> 1. SJ has not been logged in my computer at all. This is the frightening
> part of the issue.
> 2. Clearing browser cache does not resolve the issue. Sometimes when going
> to account and doing Ctrl+F5 that works but creates the problem for the
> others. (this time with my name RJ instead SJ).
>
> Bob:
> 1. Thank you for your suggestion. We are going to analyze with the system
> administrators.
> 2. I've tryied to disable apache cache but nothing changed.
>
> I've found an interesting thing:
>
> DHIS2 retrieves the correct user information through these four paths:
> /api/me?fields=%3Aall%2CorganisationUnits%5Bid%5D%2CuserGroups%5Bid%5D%
> 2CuserCredentials%5B%3Aall%2C!user%2CuserRoles%5Bid%5D
> /api/me
> /api/me/user-account.json?_=1504260368320
> /api/23/me/user-account.json
>
>
> at the same time (I mean, *in the same page load*) DHIS2 retrieves the
> other user information through these two urls:
>
> /api/me?fields=:all,organisationUnits%5Bid%5D,userGroups%5Bid%5D,
> userCredentials%5B:all,!user,userRoles%5Bid%5D
> /api/26/me.json (4 times)
> but
>
> Thank you ! I'm updating the JIRa ticket.
>
> 2017-08-28 17:24 GMT+02:00 Bob Jolliffe :
>
>> If you are getting remnants of SJ's session appearing on your computer
>> it might mean some stuff is being (incorrectly) cached on the server
>> side.  Do you have nginx or apache cache enabled.  If so try disabling
>> that.
>>
>> On 28 August 2017 at 10:51, Ramón José Jiménez Pomareta
>>  wrote:
>> > I think that can be useful:
>> > Usually SJ is an user has been recently or is currently logged on
>> another
>> > computer.
>> >
>> >
>> > 2017-08-28 11:44 GMT+02:00 Ramón José Jiménez Pomareta <
>> dh...@pomareta.ch>:
>> >>
>> >> Hello,
>> >>
>> >>
>> >> When I log with my credentials (ramon), DHIS2 shows SJ and the name of
>> >> another user on the top right corner instead of mine (RJ and Ramon
>> Jimenez).
>> >> The apps I can see are the apps allowed for SJ. I am not able to see
>> mines.
>> >> On the server log, I am logged correctly and there's no trace about SJ.
>> >>
>> >> When I go to Account I see my real username and if I do Control+F5 all
>> >> becomes OK.
>> >>
>> >> I can live with that bug, but not all the non-IT users using the
>> platform:
>> >> that's very confusing for them, and very risky if they could use other
>> apps
>> >> they should not use.
>> >>
>> >>
>> >> I've open a ticket on JIRA
>> >> https://jira.dhis2.org/browse/DHIS2-2102
>> >>
>> >> Thank you !
>> >
>> >
>> >
>> > ___
>> > Mailing list: https://launchpad.net/~dhis2-devs
>> > Post to : dhis2-devs@lists.launchpad.net
>> > Unsubscribe : https://launchpad.net/~dhis2-devs
>> > More help   : https://help.launchpad.net/ListHelp
>> >
>>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] BUG - 2.27 - Logged as different user

2017-09-01 Thread Ramón José Jiménez Pomareta
Hello, Thank you both for the answers :

Knut:
1. SJ has not been logged in my computer at all. This is the frightening
part of the issue.
2. Clearing browser cache does not resolve the issue. Sometimes when going
to account and doing Ctrl+F5 that works but creates the problem for the
others. (this time with my name RJ instead SJ).

Bob:
1. Thank you for your suggestion. We are going to analyze with the system
administrators.
2. I've tryied to disable apache cache but nothing changed.

I've found an interesting thing:

DHIS2 retrieves the correct user information through these four paths:
/api/me?fields=%3Aall%2CorganisationUnits%5Bid%5D%2CuserGroups%5Bid%5D%2CuserCredentials%5B%3Aall%2C!user%2CuserRoles%5Bid%5D
/api/me
/api/me/user-account.json?_=1504260368320
/api/23/me/user-account.json


at the same time (I mean, *in the same page load*) DHIS2 retrieves the
other user information through these two urls:

/api/me?fields=:all,organisationUnits%5Bid%5D,userGroups%5Bid%5D,userCredentials%5B:all,!user,userRoles%5Bid%5D
/api/26/me.json (4 times)
but

Thank you ! I'm updating the JIRa ticket.

2017-08-28 17:24 GMT+02:00 Bob Jolliffe :

> If you are getting remnants of SJ's session appearing on your computer
> it might mean some stuff is being (incorrectly) cached on the server
> side.  Do you have nginx or apache cache enabled.  If so try disabling
> that.
>
> On 28 August 2017 at 10:51, Ramón José Jiménez Pomareta
>  wrote:
> > I think that can be useful:
> > Usually SJ is an user has been recently or is currently logged on another
> > computer.
> >
> >
> > 2017-08-28 11:44 GMT+02:00 Ramón José Jiménez Pomareta <
> dh...@pomareta.ch>:
> >>
> >> Hello,
> >>
> >>
> >> When I log with my credentials (ramon), DHIS2 shows SJ and the name of
> >> another user on the top right corner instead of mine (RJ and Ramon
> Jimenez).
> >> The apps I can see are the apps allowed for SJ. I am not able to see
> mines.
> >> On the server log, I am logged correctly and there's no trace about SJ.
> >>
> >> When I go to Account I see my real username and if I do Control+F5 all
> >> becomes OK.
> >>
> >> I can live with that bug, but not all the non-IT users using the
> platform:
> >> that's very confusing for them, and very risky if they could use other
> apps
> >> they should not use.
> >>
> >>
> >> I've open a ticket on JIRA
> >> https://jira.dhis2.org/browse/DHIS2-2102
> >>
> >> Thank you !
> >
> >
> >
> > ___
> > Mailing list: https://launchpad.net/~dhis2-devs
> > Post to : dhis2-devs@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~dhis2-devs
> > More help   : https://help.launchpad.net/ListHelp
> >
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] BUG - 2.27 - Logged as different user

2017-08-28 Thread Bob Jolliffe
If you are getting remnants of SJ's session appearing on your computer
it might mean some stuff is being (incorrectly) cached on the server
side.  Do you have nginx or apache cache enabled.  If so try disabling
that.

On 28 August 2017 at 10:51, Ramón José Jiménez Pomareta
 wrote:
> I think that can be useful:
> Usually SJ is an user has been recently or is currently logged on another
> computer.
>
>
> 2017-08-28 11:44 GMT+02:00 Ramón José Jiménez Pomareta :
>>
>> Hello,
>>
>>
>> When I log with my credentials (ramon), DHIS2 shows SJ and the name of
>> another user on the top right corner instead of mine (RJ and Ramon Jimenez).
>> The apps I can see are the apps allowed for SJ. I am not able to see mines.
>> On the server log, I am logged correctly and there's no trace about SJ.
>>
>> When I go to Account I see my real username and if I do Control+F5 all
>> becomes OK.
>>
>> I can live with that bug, but not all the non-IT users using the platform:
>> that's very confusing for them, and very risky if they could use other apps
>> they should not use.
>>
>>
>> I've open a ticket on JIRA
>> https://jira.dhis2.org/browse/DHIS2-2102
>>
>> Thank you !
>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>

___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] BUG - 2.27 - Logged as different user

2017-08-28 Thread Knut Staring
And SJ has not been logged in on your computer at all? Clearing browser
cache has no effect?

Could you try and test this also on https://play.dhis2.org/demo?

Knut

On Mon, Aug 28, 2017 at 11:51 AM, Ramón José Jiménez Pomareta <
dh...@pomareta.ch> wrote:

> I think that can be useful:
> Usually SJ is an user has been recently or is currently logged on another
> computer.
>
>
> 2017-08-28 11:44 GMT+02:00 Ramón José Jiménez Pomareta 
> :
>
>> Hello,
>>
>>
>> When I log with my credentials (ramon), DHIS2 shows SJ and the name of
>> another user on the top right corner instead of mine (RJ and Ramon
>> Jimenez). The apps I can see are the apps allowed for SJ. I am not able to
>> see mines.
>> On the server log, I am logged correctly and there's no trace about SJ.
>>
>> When I go to Account I see my real username and if I do Control+F5 all
>> becomes OK.
>>
>> I can live with that bug, but not all the non-IT users using the
>> platform: that's very confusing for them, and very risky if they could use
>> other apps they should not use.
>>
>> I've open a ticket on JIRA
>> *https://jira.dhis2.org/browse/DHIS2-2102
>> *
>>
>> Thank you !
>>
>
>
> ___
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to : dhis2-devs@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-devs] BUG - 2.27 - Logged as different user

2017-08-28 Thread Ramón José Jiménez Pomareta
I think that can be useful:
Usually SJ is an user has been recently or is currently logged on another
computer.


2017-08-28 11:44 GMT+02:00 Ramón José Jiménez Pomareta :

> Hello,
>
>
> When I log with my credentials (ramon), DHIS2 shows SJ and the name of
> another user on the top right corner instead of mine (RJ and Ramon
> Jimenez). The apps I can see are the apps allowed for SJ. I am not able to
> see mines.
> On the server log, I am logged correctly and there's no trace about SJ.
>
> When I go to Account I see my real username and if I do Control+F5 all
> becomes OK.
>
> I can live with that bug, but not all the non-IT users using the platform:
> that's very confusing for them, and very risky if they could use other apps
> they should not use.
>
> I've open a ticket on JIRA
> *https://jira.dhis2.org/browse/DHIS2-2102
> *
>
> Thank you !
>
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp


[Dhis2-devs] BUG - 2.27 - Logged as different user

2017-08-28 Thread Ramón José Jiménez Pomareta
Hello,


When I log with my credentials (ramon), DHIS2 shows SJ and the name of
another user on the top right corner instead of mine (RJ and Ramon
Jimenez). The apps I can see are the apps allowed for SJ. I am not able to
see mines.
On the server log, I am logged correctly and there's no trace about SJ.

When I go to Account I see my real username and if I do Control+F5 all
becomes OK.

I can live with that bug, but not all the non-IT users using the platform:
that's very confusing for them, and very risky if they could use other apps
they should not use.

I've open a ticket on JIRA
*https://jira.dhis2.org/browse/DHIS2-2102
*

Thank you !
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp