nmrf / sadata

Samoa's Human Rights National Mechanism for Reporting and Follow-up (NMRF) - Client-side application
Other
0 stars 0 forks source link

Contributors #28

Closed ashbowe closed 6 years ago

ashbowe commented 6 years ago

Hi Timo - when a member of the public wants to upload some info they register and they can then submit a report for any indicator. However, their user role is still unassigned at this point, meaning they cannot be assigned to an indicator. That is correct but I think it might be helpful to have a name for those people, especially for the manual.

I have made the distinction by calling the NGO group (for the sake of a title) who just register and upload to any indicator as 'contributors' and users who are to be assigned to specific indicators as 'indicator owners'

Does this make sense and if so can we easily change the name in the database from 'contributor; to 'indicator owner'? This would make the 'role unassigned' the contributors.

tmfrnz commented 6 years ago

I think we need to be careful distinguishing user roles (that technically define each user's rights) and user functions (that more so define the user's duties) where roles are prerequisites for user functions (for some functions also an assignment is needed). How about the following classification?

Technical user roles

User functions (types of user)

Of course the public role and function names can be changed (not private database names though) but it is important not to confuse them and keep them somewhat distinct. This should also be reflected in the manual - I will have a go later

tmfrnz commented 6 years ago

Also could consider adding user types

tmfrnz commented 6 years ago

Ended up "nesting" those functions with roles in the manual. Again role names can easily be changed https://github.com/impactoss/impactoss-server/blob/master/db/seeds.rb#L25