Event Visualiser Status: Conflict, User: xyw no=

t 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.hagan@sagehagan.com> wr=
ote:
This issue just =E2=80=98popped=E2=80=99 in the last 12 hours for a pilot system for ev=
ent capture. Some form changes were made and pushed out =E2=80=A6 and while this e=
rror seems to point to a permissions issue =E2=80=A6. it doesn=E2=80=99t make any logica=
l 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=E2=80=99m not logged in as that user, but as Admin, with fu=
ll access to all orgs.

If I look at the request URL (similar to below) =E2=80=A6=20

/api/analytics/events/aggregate/wVzYQk6jW5q.json?stage=3DiPDH75AgmNv&dimensio=
n=3DkbaD30LqqjQ&dimension=3Dou:abc;tMQcwX60LSi;I3BIS1WKwpD&filter=3Dpe:LAST_4_WEEK=
S;THIS_WEEK&outputType=3DEVENT&displayProperty=3DNAME

which generates the error, and remove the offending org id from the query s=
tring =E2=80=A6. 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: DHIS 2 Users in Launchpad
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : DHIS 2 Users in Launchpad
More help : ListHelp - Launchpad Help

--=20
Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

--B_3540981118_1379713052
Content-type: text/html;
  charset="UTF-8"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
14px; font-family: Calibri, sans-serif;"><div><div><div>Hmmmmm,</div><div><=

</div><div>I did do some testing overnight as that user &#8230;..</div><d=
<br></div><div>Let me check.</div><div><br></div><div>DH</div><div><div i=

d=3D"MAC_OUTLOOK_SIGNATURE"></div></div></div></div><div><br></div><span id=3D"O=
LK_SRC_BODY_SECTION"><div style=3D"font-family:Calibri; font-size:12pt; text-a=
lign:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none=
; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b=
5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style=3D"f=
ont-weight:bold">From: </span> Jason Pickering &lt;<a href=3D"mailto:jason.p.p=
ickering@gmail.com">jason.p.pickering@gmail.com</a>&gt;<br><span style=3D"font=
-weight:bold">Date: </span> Wednesday 16 March 2016 at 13:50<br><span style=3D=
"font-weight:bold">To: </span> David Hagan &lt;<a href=3D"mailto:david.hagan@s=
agehagan.com">david.hagan@sagehagan.com</a>&gt;<br><span style=3D"font-weight:=
bold">Cc: </span> dhis2-users &lt;<a href=3D"mailto:dhis2-users@lists.launchpa=
d.net">dhis2-users@lists.launchpad.net</a>&gt;<br><span style=3D"font-weight:b=
old">Subject: </span> Re: [Dhis2-users] Event Visualiser Status: Conflict, U=
ser: xyw not allowed...<br></div><div><br></div><div dir=3D"ltr">Are you sure =
this is not server caching, possibly the reverse proxy?<div><br></div><div><=

</div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed,=

Mar 16, 2016 at 1:40 PM, David Hagan <span dir=3D"ltr">&lt;<a href=3D"mailto:da=
vid.hagan@sagehagan.com" target=3D"_blank">david.hagan@sagehagan.com</a>&gt;</=

wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=

der-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">This issue just &#8=
216;popped&#8217; in the last 12 hours for a pilot system for event capture.=
Some form changes were made and pushed out &#8230; and while this error see=
ms to point to a permissions issue &#8230;. it doesn&#8217;t make any logica=
l sense. Here goes,<div><br></div><div>3 event charts worked last night.</di=

<div>This morning, those same 3 charts throw an error:</div><div><br></div=
<div>Code: 409</div><div>Status: Conflict</div><div>User_ xyz is not allowe=

d to view org unit: abc</div><div><br></div><div>The silly thing is, I&#8217=
;m not logged in as that user, but as Admin, with full access to all orgs.</=

<div><br></div><div>If I look at the request URL (similar to below) &#82=

30;&nbsp;</div><div><br></div><div><span style=3D"color:rgb(48,57,66);font-fam=
ily:Menlo,monospace;font-size:11px;white-space:pre-wrap">/api/analytics/even=
ts/aggregate/wVzYQk6jW5q.json?stage=3DiPDH75AgmNv&amp;dimension=3DkbaD30LqqjQ&am=
p;dimension=3Dou:abc;tMQcwX60LSi;I3BIS1WKwpD&amp;filter=3Dpe:LAST_4_WEEKS;THIS_W=
EEK&amp;outputType=3DEVENT&amp;displayProperty=3DNAME</span><br></div><div><br><=
/div><div>which generates the error, and remove the offending org id from th=
e query string &#8230;. it brings back a result-set rather than the error me=
ssage.</div><div><br></div><div>Any clues anyone?</div><div><br></div><div>V=
ersion info is:&nbsp;<span style=3D"color:rgb(0,0,0);font-family:LiberationSan=
s,arial,sans-serif;font-size:12px">2.21</span></div><div><dt style=3D"font-fam=
ily:LiberationSans,arial,sans-serif;line-height:16.8px;color:rgb(0,0,0);font=
-size:12px">Build revision: 20971</dt><dt style=3D"font-family:LiberationSans,=
arial,sans-serif;line-height:16.8px;color:rgb(0,0,0);font-size:12px">Build d=
ate: 2015-12-18 12:01</dt></div><span class=3D"HOEnZb"><font color=3D"#888888"><=

<br></div><div>David</div></font></span></div><br>______________________=

_________________________<br>
Mailing list: <a href=3D"https://launchpad.net/~dhis2-users&quot; rel=3D"noreferrer"=
target=3D"_blank">https://launchpad.net/~dhis2-users&lt;/a&gt;&lt;br&gt;
Post to&nbsp; &nbsp; &nbsp;: <a href=3D"mailto:dhis2-users@lists.launchpad.ne=
t">dhis2-users@lists.launchpad.net</a><br>
Unsubscribe : <a href=3D"https://launchpad.net/~dhis2-users&quot; rel=3D"noreferrer"=
target=3D"_blank">https://launchpad.net/~dhis2-users&lt;/a&gt;&lt;br&gt;
More help&nbsp; &nbsp;: <a href=3D"https://help.launchpad.net/ListHelp&quot; rel=3D"=
noreferrer" target=3D"_blank">https://help.launchpad.net/ListHelp&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;=
/blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=3D"gmai=
l_signature"><div dir=3D"ltr">Jason P. Pickering<br>email: <a href=3D"mailto:jas=
on.p.pickering@gmail.com" target=3D"_blank">jason.p.pickering@gmail.com</a><br=

tel:+46764147049</div></div></div></span></body></html>

--B_3540981118_1379713052--