Modify ↓
Opened 20 years ago
Closed 20 years ago
#820 closed defect (duplicate)
trac-admin won't delete lowercase permissions
Reported by: | anonymous | Owned by: | daniel |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | admin/console | Version: | devel |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
If you accidentally add a permission in lowercase it can't be deleted from the list…
Trac [e:\svnroot\test\]> permission add foo bar Trac [e:\svnroot\test\]> permission add foo BAR Trac [e:\svnroot\test\]> permission list User Action ------------------------ foo bar foo BAR Trac [e:\svnroot\test\]> permission remove foo BAR Trac [e:\svnroot\test\]> permission remove foo bar Trac [e:\svnroot\test\]> permission list User Action ------------------------ foo bar
WinXP/Trac[955]
Attachments (0)
Change History (2)
comment:1 by , 20 years ago
comment:2 by , 20 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This is a duplicate of #873 (noticed too late, otherwise this would be the original and the other marked as dup).
Note:
See TracTickets
for help on using tickets.
Looks like this happened due to some changes with the intro of groups in [755].
I believe the issue is:
I believe
action.islower()
should really beuser.islower()
, so that it will catch when you try to add a lowercase permission.