Re: [Dhis2-users] Event Visualiser Status: Conflict, User: xyw not allowed...

2016-04-12 Thread Lars Helge Øverland
Hi David,

could it be that this user is in fact not allowed to view that org unit?
The "data view organisation unit" of the user is determining whether she
has access to the org unit, including its sub-hierarchy.

regards,

Lars

On Wed, Mar 16, 2016 at 1:40 PM, David Hagan 
wrote:

> This issue just ‘popped’ in the last 12 hours for a pilot system for event
> capture. Some form changes were made and pushed out … and while this error
> seems to point to a permissions issue …. it doesn’t make any logical sense.
> Here goes,
>
> 3 event charts worked last night.
> This morning, those same 3 charts throw an error:
>
> Code: 409
> Status: Conflict
> User_ xyz is not allowed to view org unit: abc
>
> The silly thing is, I’m not logged in as that user, but as Admin, with
> full access to all orgs.
>
> If I look at the request URL (similar to below) …
>
>
> /api/analytics/events/aggregate/wVzYQk6jW5q.json?stage=iPDH75AgmNv=kbaD30LqqjQ=ou:abc;tMQcwX60LSi;I3BIS1WKwpD=pe:LAST_4_WEEKS;THIS_WEEK=EVENT=NAME
>
> which generates the error, and remove the offending org id from the query
> string …. it brings back a result-set rather than the error message.
>
> Any clues anyone?
>
> Version info is: 2.21
> Build revision: 20971Build date: 2015-12-18 12:01
>
> David
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Lars Helge Øverland
Lead developer, DHIS 2
University of Oslo
Skype: larshelgeoverland
http://www.dhis2.org 
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


[Dhis2-users] Event Visualiser Status: Conflict, User: xyw not allowed...

2016-03-19 Thread David Hagan
This issue just ‘popped’ in the last 12 hours for a pilot system for event
capture. Some form changes were made and pushed out … and while this error
seems to point to a permissions issue …. it doesn’t make any logical sense.
Here goes,

3 event charts worked last night.
This morning, those same 3 charts throw an error:

Code: 409
Status: Conflict
User_ xyz is not allowed to view org unit: abc

The silly thing is, I’m not logged in as that user, but as Admin, with full
access to all orgs.

If I look at the request URL (similar to below) …

/api/analytics/events/aggregate/wVzYQk6jW5q.json?stage=iPDH75AgmNv=kbaD30LqqjQ=ou:abc;tMQcwX60LSi;I3BIS1WKwpD=pe:LAST_4_WEEKS;THIS_WEEK=EVENT=NAME

which generates the error, and remove the offending org id from the query
string …. it brings back a result-set rather than the error message.

Any clues anyone?

Version info is: 2.21
Build revision: 20971Build date: 2015-12-18 12:01

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


Re: [Dhis2-users] Event Visualiser Status: Conflict, User: xyw not allowed...

2016-03-19 Thread Jason Pickering
Are you sure this is not server caching, possibly the reverse proxy?



On Wed, Mar 16, 2016 at 1:40 PM, David Hagan 
wrote:

> This issue just ‘popped’ in the last 12 hours for a pilot system for event
> capture. Some form changes were made and pushed out … and while this error
> seems to point to a permissions issue …. it doesn’t make any logical sense.
> Here goes,
>
> 3 event charts worked last night.
> This morning, those same 3 charts throw an error:
>
> Code: 409
> Status: Conflict
> User_ xyz is not allowed to view org unit: abc
>
> The silly thing is, I’m not logged in as that user, but as Admin, with
> full access to all orgs.
>
> If I look at the request URL (similar to below) …
>
>
> /api/analytics/events/aggregate/wVzYQk6jW5q.json?stage=iPDH75AgmNv=kbaD30LqqjQ=ou:abc;tMQcwX60LSi;I3BIS1WKwpD=pe:LAST_4_WEEKS;THIS_WEEK=EVENT=NAME
>
> which generates the error, and remove the offending org id from the query
> string …. it brings back a result-set rather than the error message.
>
> Any clues anyone?
>
> Version info is: 2.21
> Build revision: 20971Build date: 2015-12-18 12:01
>
> David
>
> ___
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Jason P. Pickering
email: jason.p.picker...@gmail.com
tel:+46764147049
___
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp


Re: [Dhis2-users] Event Visualiser Status: Conflict, User: xyw not allowed...

2016-03-19 Thread David Hagan
Hm,

I did do some testing overnight as that user …..

Let me check.

DH

From:  Jason Pickering <jason.p.picker...@gmail.com>
Date:  Wednesday 16 March 2016 at 13:50
To:  David Hagan <david.ha...@sagehagan.com>
Cc:  dhis2-users <dhis2-users@lists.launchpad.net>
Subject:  Re: [Dhis2-users] Event Visualiser Status: Conflict, User: xyw not 
allowed...

Are you sure this is not server caching, possibly the reverse proxy?



On Wed, Mar 16, 2016 at 1:40 PM, David Hagan <david.ha...@sagehagan.com> wrote:
This issue just ‘popped’ in the last 12 hours for a pilot system for event 
capture. Some form changes were made and pushed out … and while this error 
seems to point to a permissions issue …. it doesn’t make any logical sense. 
Here goes,

3 event charts worked last night.
This morning, those same 3 charts throw an error:

Code: 409
Status: Conflict
User_ xyz is not allowed to view org unit: abc

The silly thing is, I’m not logged in as that user, but as Admin, with full 
access to all orgs.

If I look at the request URL (similar to below) … 

/api/analytics/events/aggregate/wVzYQk6jW5q.json?stage=iPDH75AgmNv=kbaD30LqqjQ=ou:abc;tMQcwX60LSi;I3BIS1WKwpD=pe:LAST_4_WEEKS;THIS_WEEK=EVENT=NAME

which generates the error, and remove the offending org id from the query 
string …. it brings back a result-set rather than the error message.

Any clues anyone?

Version info is: 2.21
Build revision: 20971Build date: 2015-12-18 12:01

David

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




-- 
Jason P. Pickering
email: jason.p.picker...@gmail.com
tel:+46764147049

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