Totara Learn Open Discussions

ability to constrain a role based on user's profile or org

 
Patricia Mack
ability to constrain a role based on user's profile or org
by Patricia Mack - Thursday, 31 December 2020, 1:23 PM
 

HI,

I am trying to figure out how I might constrain permissions a on role based on a business function or site/location on a user's profile.  So in other words in the how to constrain role permissions in a user context based on the user's profile.

Any thoughts would be greatly appreciated!

Thanks,

Patty

Vladimir Puaca
Re: ability to constrain a role based on user's profile or org
by Vladimir Puaca - Monday, 4 January 2021, 3:08 AM
Group Most Helpful Contributor 2021

Hi Patricia, 


I think the way to go is to create a dynamic audience based on profile fields and then assign them with a new role in the system. In the settings for every audience, there is a tab Assign role


However, I'm not sure if the general approach matters - whether you should give a special role to those with restricted access or those with elevated access. I know that the latter works, but I kind of gathered you want to implement the former. Not sure if you want to go that road, but maybe it's also a possibility. 


Best, 

Vlad

Patricia Mack
Re: ability to constrain a role based on user's profile or org
by Patricia Mack - Thursday, 7 January 2021, 7:32 PM
 

Thanks Vlad!

I would like to create group of trainers for a category of courses.  So those people could have elevated permissions for as a trainer for any course/program in that category.

Business use case:  once people have taken a group of courses they can be deemed a trainer for that set of courses.  The courses are all in the same category.

Learners will be assigned the courses (or programs.)   

For people being deemed a trainer  - I created category audience and assign that audience the role of trainer.  (So they have both a learner and trainer role for the courses (or programs.)  

It seems to work...do you see any issues with that approach?  

All my best, Patty