Modify ↓
Opened 17 years ago
Closed 17 years ago
#7808 closed defect (duplicate)
Cannot add TICKET_CREATE permission to "developers"
| Reported by: | anonymous | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | admin/web | Version: | |
| Severity: | major | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description (last modified by )
In the administration system I tried to add TICKET_CREATE permission to "developers" and system fail with the following error:
Python Traceback
Traceback (most recent call last):
File "/data/devjavu/current/trac/lib/trac/web/main.py", line 420, in dispatch_request
dispatcher.dispatch(req)
File "/data/devjavu/current/trac/lib/trac/web/main.py", line 243, in dispatch
resp = chosen_handler.process_request(req)
File "/data/devjavu/releases/20080301064410/trac/src/plugins/webadmin/webadmin/web_ui.py", line 109, in process_request
path_info)
File "/data/devjavu/releases/20080301064410/trac/src/plugins/webadmin/webadmin/perm.py", line 45, in process_admin_request
perm.grant_permission(subject, action)
File "/data/devjavu/current/trac/lib/trac/perm.py", line 210, in grant_permission
self.store.grant_permission(username.lower(), action)
File "/data/devjavu/current/trac/lib/trac/perm.py", line 154, in grant_permission
(username, action))
File "/data/devjavu/current/trac/lib/trac/db/util.py", line 50, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
File "/data/devjavu/current/trac/lib/trac/db/sqlite_backend.py", line 56, in execute
args or [])
File "/data/devjavu/current/trac/lib/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
return function(self, *args, **kwargs)
IntegrityError: columns username, action are not unique
Attachments (0)
Change History (1)
comment:1 by , 17 years ago
| Description: | modified (diff) |
|---|---|
| Priority: | highest → high |
| Resolution: | → duplicate |
| Severity: | blocker → major |
| Status: | new → closed |
| Version: | none |
Note:
See TracTickets
for help on using tickets.



Please read the guidelines to create ticket and learn how to report an issue:
searching for "columns username, action are not unique" does the trick
Duplicate of #6348