← Back to team overview

dhis2-users team mailing list archive

Re: user Authorities

 

I think it’s not there yet

 

Kindly advice 

 

Regards,

 

 

From: Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri=hotmail.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Nami Ghadri
Sent: Wednesday, December 2, 2015 11:46 AM
To: 'Abyot Gizaw' <abyota@xxxxxxxxx>; omunyao@xxxxxxxxx
Cc: 'DHIS 2 Users list' <dhis2-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Dhis2-users] user Authorities

 

That’s great thanks for information

 

Regards,

 

 

From: Abyot Gizaw [mailto:abyota@xxxxxxxxx] 
Sent: Wednesday, December 2, 2015 11:44 AM
To: Nami Ghadri <nami_ghadri@xxxxxxxxxxx <mailto:nami_ghadri@xxxxxxxxxxx> >; omunyao@xxxxxxxxx <mailto:omunyao@xxxxxxxxx> 
Cc: DHIS 2 Users list <dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx> >
Subject: Re: [Dhis2-users] user Authorities

 

Hi Nami, Munyao,

 

Just now we made a small fix regarding authorities - please go for revision 20935 of 2.21.




 

---

Thank you,

Abyot.

 

On Wed, Dec 2, 2015 at 10:18 AM, Nami Ghadri <nami_ghadri@xxxxxxxxxxx <mailto:nami_ghadri@xxxxxxxxxxx> > wrote:

Dear Abyot,

 

As I told you I could’t find the bellow in the Authorities filed but what I did is adding the following in database:

 

The 475569 is my userroleid which I created 

insert into userroleauthorities(userroleid,authority) values(475569,'F_PROGRAM_UNENROLLMENT');

insert into userroleauthorities(userroleid,authority) values(475569,'F_PROGRAM_ENROLLMENT');

insert into userroleauthorities(userroleid,authority) values(475569,'F_TRACKED_ENTITY_INSTANCE_DELETE');

insert into userroleauthorities(userroleid,authority) values(475569,'F_TRACKED_ENTITY_INSTANCE_ADD');

 

then I checked the Authorities field and I found what you sent me

 

I don’t know why but this what happened

 

Thanks again for support

 

 

From: Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri <mailto:dhis2-users-bounces%2Bnami_ghadri> =hotmail.com@xxxxxxxxxxxxxxxxxxx <mailto:hotmail.com@xxxxxxxxxxxxxxxxxxx> ] On Behalf Of Nami Ghadri
Sent: Wednesday, December 2, 2015 10:36 AM


To: 'Abyot Gizaw' <abyota@xxxxxxxxx <mailto:abyota@xxxxxxxxx> >
Cc: 'DHIS 2 Users list' <dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx> >
Subject: Re: [Dhis2-users] user Authorities

 

Dear Abyot,

 

I can’t find the following in the Authorities:

 

-      Add/Update Tracked Entity Instance

-      Delete Tracked Entity Instance

-      Program Enrollment

-      Program Un-enrollment

 

Pleas advice 

 

From: Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri=hotmail.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of Nami Ghadri
Sent: Wednesday, December 2, 2015 10:30 AM
To: 'Abyot Gizaw' <abyota@xxxxxxxxx <mailto:abyota@xxxxxxxxx> >
Cc: 'DHIS 2 Users list' <dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx> >
Subject: Re: [Dhis2-users] user Authorities

 

Hello abyot,

 

I am using 2.21 latest revision , I created new user role , and I will try what u sent me 

 

Thanks for replay

 

 

 

From: Abyot Gizaw [mailto:abyota@xxxxxxxxx] 
Sent: Wednesday, December 2, 2015 10:11 AM
To: Nami Ghadri <nami_ghadri@xxxxxxxxxxx <mailto:nami_ghadri@xxxxxxxxxxx> >
Cc: DHIS 2 Users list <dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx> >
Subject: Re: [Dhis2-users] user Authorities

 

Hi Nami,

 

Which version of DHIS2 are you using? and what are the user roles you assigned?

 

In addition to assigning program to your user, below are the authorities you need for tracker apps.

 


Event Capture

Add/Update Tracked Entity Data Value

Delete Tracked Entity Data Value


Tracker Capture

Add/Update Tracked Entity Data Value

Delete Tracked Entity Data Value

Search Tracked Entity Instance

Search Tracked Entity Instance in All Org Units

Add/Update Tracked Entity Instance

Delete Tracked Entity Instance

Program Enrollment

Program Un-enrollment

 

 

 




 

---

Thank you,

Abyot.

 

On Wed, Dec 2, 2015 at 8:36 AM, Nami Ghadri <nami_ghadri@xxxxxxxxxxx <mailto:nami_ghadri@xxxxxxxxxxx> > wrote:

Dears,

 

What ever I do for user role , it want authorize the user to enter data into tracker capture 

 

Unless I put All into role configuration

 

Any idea 

 

Thanks

 

 

From: Dhis2-users [mailto:dhis2-users-bounces+nami_ghadri <mailto:dhis2-users-bounces%2Bnami_ghadri> =hotmail.com@xxxxxxxxxxxxxxxxxxx <mailto:hotmail.com@xxxxxxxxxxxxxxxxxxx> ] On Behalf Of Nami Ghadri
Sent: Wednesday, December 2, 2015 1:18 AM
To: 'DHIS 2 Users list' <dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx> >
Subject: [Dhis2-users] user Authorities

 

Hello,

 

I have a program with registration and I want to grant a user only authorization to enter attribute data 

 

I created a user role and give:

-          Add/Update Tracked Entity Data Value

-          Add/Update Tracked Entity Instance

And in the user profile assigned the role for it and org unit

 

 

When I ever the user wants to register data in the attribute form in the tracker capture in gives him error registration and access denied

 

Can any body help please on what Authorities should I give for such user?

 

Regards,

 


_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx <mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx> 
Unsubscribe : https://launchpad.net/~dhis2-users
More help   : https://help.launchpad.net/ListHelp

 

 


Follow ups

References