List of permissions and their meaning

2 views
Skip to first unread message

Jørn Ivar Klungsøyr

unread,
Nov 16, 2011, 7:06:43 AM11/16/11
to openxda...@googlegroups.com

Hi,

Do we have a list somewhere of the many permissions and their specific meaning?

Thanx,  

Jørn

 

____________________________________________________________________________
Jorn Klungsoyr
openXdata - Centre for International Health,
University of Bergen, Norway
www.openxdata.org
 / www.cih.uib.no / www.openrosa.org / www.open-mobile.org
Mobile: +4791365731, Skype/GoogleTalk: jornklung Alternative email:
jorn.kl...@gmail.com
Post: Postboks 7800, 5020 Bergen, Visit: Årstadveien 21, 5th Floor, Bergen
                       ------¤¤¤¤------

 

Sarah Bird

unread,
Nov 16, 2011, 7:09:06 AM11/16/11
to openxda...@googlegroups.com
not that I'm aware of - would be useful though.

bird
--
You received this message because you are subscribed to the Google Groups "openXdata Users" group.
To post to this group, send email to openxda...@googlegroups.com.
To unsubscribe from this group, send email to openxdata-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openxdata-users?hl=en.

Dagmar Timler

unread,
Nov 16, 2011, 7:31:00 AM11/16/11
to openxda...@googlegroups.com
There is a short description in the table, but it is not always very helpful. Also I think some of the permissions have become unused since the move to the dashboard. Perhaps we need a ticket to cleanup and document the permissions?

Dagmar

Jørn Ivar Klungsøyr

unread,
Nov 16, 2011, 7:36:53 AM11/16/11
to openxda...@googlegroups.com

Thanx,

 

Also just found (as you said) that there is a description of the permissions in the database table permissions.

 

Creating a ticket for as you propose sounds like a good idea.

 

Was this not earlier more accessible in the admin console?

I thought there was a panel for defining the permissions.

I may recall wrongly :)

 

Jørn

 

 

____________________________________________________________________________
Jorn Klungsoyr
openXdata - Centre for International Health,
University of Bergen, Norway
www.openxdata.org / www.cih.uib.no / www.openrosa.org / www.open-mobile.org
Mobile: +4791365731, Skype/GoogleTalk: jornklung Alternative email:
jorn.kl...@gmail.com
Post: Postboks 7800, 5020 Bergen, Visit: Årstadveien 21, 5th Floor, Bergen
                       ------¤¤¤¤------

 

Dagmar Timler

unread,
Nov 16, 2011, 7:58:40 AM11/16/11
to openxda...@googlegroups.com
Hi

Yes there was a panel to define permissions quite a few releases ago, but as they can only be used in the code it was decided that there was little point to maintaining a UI and permissions should be added by developers directly in the database via liquibase updates.

Dagmar

Jørn Ivar Klungsøyr

unread,
Nov 16, 2011, 8:46:48 AM11/16/11
to openxda...@googlegroups.com
Permissions_Roles_Users.pdf

Mark Gerard

unread,
Nov 16, 2011, 9:14:01 AM11/16/11
to openxda...@googlegroups.com
+1

Mark

On Nov 16, 2011, at 2:59 PM, Dagmar Timler wrote:

Hi

There is a listing of permissions - when you are assigning them to a Role. I think perhaps that UI should be improved rather than creating a new one. E.g. perhaps clicking on the Role will pull up the description in a component underneath the list.

Dagmar

Dagmar Timler

unread,
Nov 16, 2011, 9:15:50 AM11/16/11
to openxda...@googlegroups.com
Sorry what I meant to say is that clicking on a Permission will show the description in a component underneath the list.

On Wed, Nov 16, 2011 at 3:59 PM, Dagmar Timler <diggi...@gmail.com> wrote:
Hi

There is a listing of permissions - when you are assigning them to a Role. I think perhaps that UI should be improved rather than creating a new one. E.g. perhaps clicking on the Role will pull up the description in a component underneath the list.

Dagmar

Dagmar Timler

unread,
Nov 16, 2011, 8:59:42 AM11/16/11
to openxda...@googlegroups.com
Hi

There is a listing of permissions - when you are assigning them to a Role. I think perhaps that UI should be improved rather than creating a new one. E.g. perhaps clicking on the Role will pull up the description in a component underneath the list.

Dagmar

Jørn Ivar Klungsøyr

unread,
Nov 16, 2011, 1:46:33 PM11/16/11
to openxda...@googlegroups.com

Dagmar Timler

unread,
Feb 16, 2012, 4:49:46 AM2/16/12
to openxda...@googlegroups.com
Hi

I have done some work on a ticket that provides details on how the permissions are used in the system.

I also added some SQL to the ticket to produce a report in the matrix format.

Thanks
Dagmar

--

Sarah Bird

unread,
Feb 16, 2012, 6:28:12 AM2/16/12
to openxda...@googlegroups.com
Dagmar,

This is awesome - thanks!

Can I turn the spreadsheet that you've attached into a wiki page?

Best,

Bird

Dagmar Timler

unread,
Feb 16, 2012, 6:31:31 AM2/16/12
to openxda...@googlegroups.com
That would be great, but perhaps consider leaving out the "backend @Secured" column - not sure how useful that column is to non-techies (you could just say that all the permissions are used to secure the services available on the server).

I'm going to follow up and delete some of the un-used permissions, so I can update the page after that.

Sarah Bird

unread,
Feb 26, 2012, 1:54:41 PM2/26/12
to openxda...@googlegroups.com
Hi Dagmar,

I've completed the wiki page: https://trac.openxdata.org/wiki/permissions

I'm looking at Role_Data_Collector vs Role_Mobile_User

Mobile User
  • Role_Mobile_User
  • collects data via mobile phone
    • Perm_Add_Form_Data
    • Perm_Edit_My_Form_Data
    • Perm_View_Forms
    • Perm_View_Studies
    • Perm_View_Users

Data Collector

  • Role_Data_Collector
  • collects data online
    • Perm_Add_Form_Data
    • Perm_Dashboard
    • Perm_Edit_My_User
    • Perm_View_Forms
    • Perm_View_Studies

Given that they are similar roles but on a different platform I am wondering about the differences in permissions.

They have the following permissions in common (makes sense):
  • Perm_Add_Form_Data
  • Perm_View_Forms
  • Perm_View_Studies

Role_Data_Collector has the unique permissions (makes sense):

  • Perm_Dashboard
  • Perm_Edit_My_User <- should we update the description to explicitly state that edit is done through the Dashboard UI

Role_Mobile_User has the unique permissions:

  • Perm_Edit_My_Form_Data
  • Perm_View_Users

My two questions:

1) Why doesn't the Role_Data_Collector have permission to edit their own form data if the mobile use does
2) Why does the mobile user have the View_Users permission. I am guessing this has something to do with the need to download users to the mobile client to authenticate. If so then we should just update the description of the permission to reflect this.

Cheers,

Bird

Reply all
Reply to author
Forward
0 new messages