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
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_color.css   Rev. 1.184    (+15 -1 lines)
MODIFY lib/adminlib.php   Rev. 1.283    (+132 -1 lines)
MODIFY theme/standard/styles_layout.css   Rev. 1.628    (+21 -10 lines)
MODIFY admin/roles/Attic/explainhascapabiltiy.php   Rev. 1.2    (+56 -5 lines)
ADD admin/roles/explain.php   Rev. 1.1    (+0 -0 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 lang/en_utf8/error.php   Rev. 1.142    (+3 -1 lines)
MODIFY theme/standard/styles_layout.css   Rev. 1.629    (+2 -7 lines)
MODIFY lang/en_utf8/role.php   Rev. 1.73    (+15 -3 lines)
MODIFY admin/roles/explain.php   Rev. 1.2    (+19 -17 lines)
MODIFY admin/roles/Attic/explainhascapabiltiy.php   Rev. 1.4    (+20 -12 lines)
MODIFY admin/settings/users.php   Rev. 1.36    (+5 -5 lines)
MODIFY admin/roles/tabs.php   Rev. 1.38    (+13 -4 lines)
tjhunt committed 3 files to 'Moodle CVS' - 13/Nov/08 10:44 AM
roles explanation: MDL-13538 further interface improvements.
MODIFY admin/roles/Attic/explainhascapabiltiy.php   Rev. 1.5    (+19 -10 lines)
MODIFY theme/standard/styles_color.css   Rev. 1.185    (+6 -5 lines)
MODIFY theme/standard/styles_layout.css   Rev. 1.630    (+1 -0 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/role.php   Rev. 1.78    (+17 -3 lines)
MODIFY ja_utf8/error.php   Rev. 1.103    (+3 -1 lines)
martignoni committed 2 files to 'Lang CVS' - 17/Nov/08 01:18 AM
MDL-13538 Explanation of roles, translation
MODIFY fr_utf8/error.php   Rev. 1.147    (+3 -1 lines)
MODIFY fr_utf8/role.php   Rev. 1.95    (+15 -3 lines)