Best practice forum (Archived)

Associate System Roles with Organisations

 
? ?
Associate System Roles with Organisations
par ? ?, Wednesday 5 September 2012, 04:52
 

It would be nice to be able to automatically associate a System Role with an Organisation or Position i.e. when creating the Org/Position there would be an option to choose one (or more) System Roles. Then various content which is ordinarily visible by anyone can be easily restricted to members of a certain Organisation etc.

How much development would this require? Anyone else see a use for it, or an alternative way to achieve the same end? What are the flaws in the very notion?

Simon Coggins
Re: Associate System Roles with Organisations
par Simon Coggins, Thursday 6 September 2012, 19:52
Groupe Totara

We're actually looking at adding something similar to this to audiences - so you can assign a role to all the members of an audience and have the role assignment auto-update as people join/leave the audience.

One issue is that roles are assigned to users but also to contexts - so when assigning a role to an audience you would need to specify a context level (e.g. category) and a context instance (e.g. a particular category).

One of the big issues with this will be scalability/performance, since role assignments can be quite slow it will need to be done with scaling in mind or it won't work for large sites.

Simon