#2663: [per-object-permissions] pop admin broken
-----------------------------+----------------------------------------------
Reporter: Joeboy | Owner: adrian
Type: defect | Status: new
Priority: normal | Milestone:
Component: Admin interface | Version:
Severity: normal | Keywords: per-object-permissions, row-level
-----------------------------+----------------------------------------------
I guess this is my fault for using unmerged branches, but this all looks a
bit broken to me.
row_level_perm_manipulator contains the following:
{{{
if str(value) == str_data:
selected_html = ' selected="selected"'
}}}
which is supposed to set the default value of the user/group boxes.
However at this point, value contains things like 'group-3' and str_data
contains things like 'auth/group/3'. Consequently the boxes always default
to 'admin'.
--
Ticket URL: <http://code.djangoproject.com/ticket/2663>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---