Best practice forum (Archived)

Report by System Role

 
WildSteph
Report by System Role
WildSteph 发表于 2014年02月28日 Friday 06:36
小组 Learn Site Administrator

Hi Again!

I could be missing something but is there a report I can run which will give me a list of staff allocated to a specific role e.g. all users with the role of Staff Manager?

Thanks

Steph

??
Re: Report by System Role
?? 发表于 2014年03月2日 Sunday 13:25
 

Only at the site-level context Site Admin -> Users -> Permissions -> Assign system roles.

The Staff Manager role is usually assigned at the level of the User context, I'm not sure if there's an easy way to list all those at the moment. A Roles & Contexts report would be quite complex and on a large site would have millions of rows. I can see how it would be useful in certain circumstances - like finding all the people currently assigned as Managers - but given the way the Moodle role/context/capability system works it might be a bit tricky to implement in a way that the resulting data would be understandable.

I can file an enhancement request though. In the meantime anyone else ever done any customisations for such a report, or have discovered any workarounds?

WildSteph
Re: Report by System Role
WildSteph 发表于 2014年03月3日 Monday 01:36
小组 Learn Site Administrator

Hi Ciaran,

Thanks for the response, I think it would be useful to be able to run a report to identify which staff have been assigned specific roles and also to be able to include their email address so that it becomes easy to (for example) send all staff managers an email when new functionality is introduced. 

We are currently using a workaround whereby if someone is allocated as a manager then there is a 'tick' box on their profile which we use and then can report be this however it is abit of a pain and obviously not 'human proof' I'm sure some will end up getting missed.

An enhancement would be great - thanks.

Steph