[patch] [per-object-permissions] pop admin broken
|Reported by:||Joeboy||Owned by:||clong|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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'.
Change History (5)
Changed 10 years ago by Joeboy
comment:1 Changed 10 years ago by anonymous
- Summary changed from [per-object-permissions] pop admin broken to [patch] [per-object-permissions] pop admin broken