Issue Details (XML | Word | Printable)

Key: MDL-13538
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Tim Hunt
Reporter: Petr Skoda
Votes: 1
Watchers: 5
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

new effective permissions tab in user section

Created: 20/Feb/08 09:01 AM   Updated: 12/Nov/08 07:14 PM
Return to search
Component/s: Roles
Affects Version/s: 2.0
Fix Version/s: 2.0

File Attachments: 1. Text File 0001-admin-roleaudit-New-unsupported-admin-page-to-displ.patch (6 kB)
2. Text File premissions_tab_4.patch (15 kB)
3. Text File premissions_tab_7.patch (19 kB)
4. Text File premissions_tab_8.patch (17 kB)

Image Attachments:

1. permissions.png
(47 kB)
Issue Links:
Duplicate
 
Relates

Participants: Francois Marier, Helen Foster, Howard Miller, John Isner, Nicolas Martignoni, Petr Skoda and Tim Hunt
Security Level: None
QA Assignee: Helen Foster
Resolved date: 12/Nov/08
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
the idea is to allow teachers or administartors to view the list of capabilities each user has in given course context or module context.

implementation is pretty simple -either new first row tab or a subtab of Role tab.

sending unfinished patch with preview

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda made changes - 20/Feb/08 09:04 AM
Field Original Value New Value
Attachment reviewcaps.patch [ 13156 ]
Francois Marier added a comment - 20/Feb/08 09:51 AM
(This patch is only vaguely related to this, but I figure I should put it somewhere in case there is interest.)

We whipped out a quick "audit" page for one of our customers who wanted to see all role assignments on the site. If you think that this functionality should be added to the unsupported pages, then I can work on it some more....


Francois Marier made changes - 20/Feb/08 09:51 AM
John Isner added a comment - 26/Feb/08 10:19 AM
Possible duplicate of MDL -13228. "Improve the transparency of Roles and Capabilities by adding a View permissions tab"

Tim Hunt added a comment - 26/Feb/08 04:12 PM
As per John's comment.

Tim Hunt made changes - 26/Feb/08 04:12 PM
Link This issue duplicates MDL-13228 [ MDL-13228 ]
Tim Hunt made changes - 26/Feb/08 04:12 PM
Resolution Duplicate [ 3 ]
Status Open [ 1 ] Resolved [ 5 ]
Nicolas Martignoni added a comment - 03/Mar/08 11:10 PM
Closing as dupe.

Nicolas Martignoni made changes - 03/Mar/08 11:10 PM
Status Resolved [ 5 ] Closed [ 6 ]
QA Assignee mina
Petr Skoda added a comment - 09/Mar/08 10:18 AM - edited
reopening - the ideas in linked bug are different from mine

Petr Skoda made changes - 09/Mar/08 10:18 AM
Resolution Duplicate [ 3 ]
Status Closed [ 6 ] Reopened [ 4 ]
Petr Skoda made changes - 09/Mar/08 10:18 AM
Link This issue duplicates MDL-13228 [ MDL-13228 ]
Petr Skoda made changes - 09/Mar/08 10:19 AM
Link This issue has a non-specific relationship to MDL-13228 [ MDL-13228 ]
Petr Skoda made changes - 28/Apr/08 05:30 PM
Link This issue has been marked as being related by MDL-8524 [ MDL-8524 ]
Petr Skoda made changes - 21/Jul/08 10:31 PM
Link This issue has been marked as being related by MDL-15737 [ MDL-15737 ]
Petr Skoda added a comment - 27/Jul/08 04:52 AM
sending a fresh patch with permissions tab on user page, please test

Petr Skoda made changes - 27/Jul/08 04:52 AM
Attachment premissions_tab_4.patch [ 14676 ]
Petr Skoda made changes - 27/Jul/08 04:52 AM
Attachment reviewcaps.patch [ 13156 ]
Petr Skoda added a comment - 27/Jul/08 07:56 AM
some more improvements

Petr Skoda made changes - 27/Jul/08 07:56 AM
Attachment premissions_tab_7.patch [ 14677 ]
Petr Skoda added a comment - 27/Jul/08 08:30 PM
I hope it is production quality now

Petr Skoda made changes - 27/Jul/08 08:30 PM
Attachment premissions_tab_8.patch [ 14678 ]
Petr Skoda added a comment - 28/Jul/08 03:49 AM
here is a screenshot

Petr Skoda made changes - 28/Jul/08 03:49 AM
Attachment permissions.png [ 14680 ]
Howard Miller added a comment - 28/Jul/08 04:08 AM
I think there's some crossover here. To integrate Tim's report as a report (if you see what mean) doesn't make much sense. It works better as an option from the user's profile. My intention was never to show the full list of capabilities, just the role, but it's nearly the same thing.

Howard Miller made changes - 28/Jul/08 04:08 AM
Link This issue has a non-specific relationship to MDL-14937 [ MDL-14937 ]
Petr Skoda made changes - 28/Jul/08 04:23 AM
Summary new tab in user section for viewvig user capabilities in course/module new effective permissions tab in user section
Petr Skoda added a comment - 29/Jul/08 02:52 PM
closing, looks like nobody needs this

Petr Skoda made changes - 29/Jul/08 02:52 PM
Resolution Won't Fix [ 2 ]
Status Reopened [ 4 ] Closed [ 6 ]
QA Assignee mina
Helen Foster added a comment - 07/Aug/08 05:10 PM
Reopening, following a request in the roles and capabilities forum.

Helen Foster made changes - 07/Aug/08 05:10 PM
Resolution Won't Fix [ 2 ]
Status Closed [ 6 ] Reopened [ 4 ]
QA Assignee tsala
Tim Hunt made changes - 27/Oct/08 05:35 PM
Link This issue is duplicated by MDL-16964 [ MDL-16964 ]
Tim Hunt added a comment - 27/Oct/08 05:36 PM
This is on my todo list for Moodle 2.0.

Tim Hunt made changes - 27/Oct/08 05:36 PM
Fix Version/s 2.0 [ 10122 ]
Affects Version/s 1.9 [ 10190 ]
Affects Version/s 2.0 [ 10122 ]
Assignee Petr ?koda [ skodak ] Tim Hunt [ timhunt ]
tjhunt committed 7 files to 'Moodle CVS' - 12/Nov/08 04:55 PM
roles explanation: MDL-13538 Make a table showing the result of has_capability for every capabiltiy in a context.

This implements the page showing the table. It is not yet integrated into the tab bar. To try this, go to an Assign roles page (one with URL .../admin/roles/assign.php?contextid=...) and change the 'assign' to 'explain'.
MODIFY user/selector/script.js   Rev. 1.17    (+2 -0 lines)
MODIFY theme/standard/styles_layout.css   Rev. 1.628    (+21 -10 lines)
MODIFY lib/adminlib.php   Rev. 1.283    (+132 -1 lines)
ADD admin/roles/explain.php   Rev. 1.1    (+0 -0 lines)
MODIFY theme/standard/styles_color.css   Rev. 1.184    (+15 -1 lines)
MODIFY admin/roles/Attic/explainhascapabiltiy.php   Rev. 1.2    (+56 -5 lines)
MODIFY user/selector/lib.php   Rev. 1.16    (+20 -2 lines)
tjhunt committed 7 files to 'Moodle CVS' - 12/Nov/08 07:13 PM
roles explanation: MDL-13538 Integrate into the roles tab bar, and improve wording a bit.

Also, commit the lang strings I missed last time.
MODIFY theme/standard/styles_layout.css   Rev. 1.629    (+2 -7 lines)
MODIFY lang/en_utf8/error.php   Rev. 1.142    (+3 -1 lines)
MODIFY admin/settings/users.php   Rev. 1.36    (+5 -5 lines)
MODIFY lang/en_utf8/role.php   Rev. 1.73    (+15 -3 lines)
MODIFY admin/roles/tabs.php   Rev. 1.38    (+13 -4 lines)
MODIFY admin/roles/Attic/explainhascapabiltiy.php   Rev. 1.4    (+20 -12 lines)
MODIFY admin/roles/explain.php   Rev. 1.2    (+19 -17 lines)
Tim Hunt added a comment - 12/Nov/08 07:14 PM
Done!

Tim Hunt made changes - 12/Nov/08 07:14 PM
Status Reopened [ 4 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
tjhunt committed 3 files to 'Moodle CVS' - 13/Nov/08 10:44 AM
roles explanation: MDL-13538 further interface improvements.
MODIFY theme/standard/styles_color.css   Rev. 1.185    (+6 -5 lines)
MODIFY theme/standard/styles_layout.css   Rev. 1.630    (+1 -0 lines)
MODIFY admin/roles/Attic/explainhascapabiltiy.php   Rev. 1.5    (+19 -10 lines)
Mitsuhiro Yoshida committed 2 files to 'Lang CVS' - 14/Nov/08 01:49 AM
MDL-13538 Translated new strings for role and error messages.
MODIFY ja_utf8/error.php   Rev. 1.103    (+3 -1 lines)
MODIFY ja_utf8/role.php   Rev. 1.78    (+17 -3 lines)
martignoni committed 2 files to 'Lang CVS' - 17/Nov/08 01:18 AM
MDL-13538 Explanation of roles, translation
MODIFY fr_utf8/role.php   Rev. 1.95    (+15 -3 lines)
MODIFY fr_utf8/error.php   Rev. 1.147    (+3 -1 lines)