[AMOS commit] MDL-23219 check permissions: show relevant role-assignments. Committed into Git: 2012-07-06 11:20 UTC

[AMOS commit] MDL-23219 check permissions: show relevant role-assignments. Committed into Git: 2012-07-06 11:20 UTC

- bot AMOS の投稿
返信数: 0
Author: Tim Hunt
MDL-23219 check permissions: show relevant role-assignments.
Adding this list of role assignments should make it much easier for
admins to work out why, when the permissions shown in the check
permisisons page are now what they expect.

I thought about making the links go more directly to, for example, the
assign roles pages for each context, but because of things like
enrolments in courses that is hard. It is only two clicks to go to the
context, then click the right link in the settings block there.

I also re-orderd some of the code in check.php to try to get all the DB
code before all the output code.


http://git.moodle.org/gw?p=moodle.git;a=commit;h=7bef3664b8a435b36c27809a74ed2390be70961f
http://github.com/moodle/moodle/commit/7bef3664b8a435b36c27809a74ed2390be70961f

+ 2.3 en [roleincontext,core_role]
+ 2.3 en [rolesforuser,core_role]