Issue Details (XML | Word | Printable)

Key: MDL-7633
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Petr Skoda
Reporter: Ian Scott
Votes: 0
Watchers: 2
Operations

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

Move legacy capabilities down the bottom of the list in a new section to help avoid confusion

Created: 21/Nov/06 12:05 PM   Updated: 01/Jun/07 10:25 PM
Return to search
Component/s: Roles
Affects Version/s: 1.7
Fix Version/s: 1.8, 1.9

Environment: PHP 5.1.2 MySQL 5.0.27 Windows 2003 IIS
Issue Links:
Dependency
 
Relates

Database: MySQL
URL: mitie.edu.au
Participants: Helen Foster, Ian Scott, Martin Dougiamas and Petr Skoda
Security Level: None
QA Assignee: Helen Foster
Resolved date: 23/Mar/07
Affected Branches: MOODLE_17_STABLE
Fixed Branches: MOODLE_18_STABLE, MOODLE_19_STABLE


 Description  « Hide
Create a new role based on teacher - lets call it instructor. Sign in as this person, my course is not listed - go to the course and I'm asked do I want to enrol - but I'm already enrolled! When you click yes you are now a student of the course (as well as the Instructor) - you have some of the roles of the teacher eg control settings but most are lost (you are in fact mainly a student.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda added a comment - 22/Nov/06 04:52 AM
How did you exactly create a new role "based on teacher"?
AFAIK there is no duplication mechanism in 1.7, only in 1.8.

Ian Scott added a comment - 22/Nov/06 06:12 AM
Signed in as admin - Permissions/define role/add a new role then ticked the box Legacy Role Teacher (editing) - assume from this the new role has all the rights of a legacy teacher. Do I take it I must tick every box a teacher role should have?

Martin Dougiamas added a comment - 22/Nov/06 11:59 AM
Yes you need to tick every box ... this is a documentation problem really ... those legacy capabilities should be moved right down the bottom to a different section.

They're only used by old 3rd party code that was not designed for Moodle 1.7 and doesn't support roles yet. In those cases, Moodle will respond to queries like "get all teachers for this course" by using these legacy capabilities.


Martin Dougiamas added a comment - 22/Nov/06 12:00 PM
Renaming the bug ...

Helen Foster added a comment - 05/Mar/07 02:35 AM
Notes on legacy capabilities added to http://docs.moodle.org/en/Manage_roles

Also additional notes added to each legacy capability page e.g. http://docs.moodle.org/en/Capabilities/moodle/legacy:editingteacher


Helen Foster added a comment - 05/Mar/07 02:39 AM
Adding QA assignee

Petr Skoda added a comment - 07/Mar/07 06:05 AM
fixed in cvs 1.8dev and HEAD, now the legacy caps have special menu - you can select only one (selecting several of them would cause problems anyway)

thanks for the report!


Helen Foster added a comment - 08/Mar/07 03:08 AM
Could the legacy role type drop-down menu have a help pop-up? Perhaps something like this:

"Legacy role types provide backward compatibility. A legacy role type may be set if your site uses old 3rd party code that was not designed for Moodle 1.7 and doesn't yet support roles. Otherwise, it's not necessary to set a legacy role type.

Setting a legacy role type does NOT provide a new role with all capabilities of a pre-Moodle 1.7 role."

Also, could the legacy role type drop-down menu be put at the bottom of the page below the list of capabilities and just above the "Add new role" and Cancel buttons, as it's not so important? Assuming I understand it correctly...


Helen Foster added a comment - 14/Mar/07 04:28 AM
Reopening as legacy role types continue to cause confusion. Please see bug MDL-8859

Petr Skoda added a comment - 21/Mar/07 04:57 PM
Unfortunately legacy roles are not unimportant yet - a lot of code depends on them

The help popup is a good idea, going to add it


Petr Skoda added a comment - 23/Mar/07 06:35 AM
closing, please use MDL-9013 to propose improvements

thanks everybody for ideas and participation, I agree we should make roles much easier to use


Helen Foster added a comment - 01/Jun/07 10:25 PM
Closing, please see MDL-9013. Thanks again Petr