Permissions widget does not validate

Description

The permissions widget concatenates the role name and permission name to use as for and id attributes. However, these attributes are not allowed to contain spaces, so when a role name contains spaces, invalid markup is produced, e.g.:

<label for="Studentasn.receive.notifications" class="skip">Studentasn.receive.notifications</label>
<input type="checkbox" name="Studentasn.receive.notifications" id="Studentasn.receive.notifications" value="Studentasn.receive.notifications" />

Attachments

1

Activity

Show:
No Resources

Details

Priority

Affects versions

Components

Assignee

Reporter

Created April 29, 2007 at 1:43 AM
Updated August 15, 2013 at 10:01 AM
Resolved August 14, 2013 at 3:29 PM