#12242 closed enhancement (fixed)
TracAdmin "permission add" command should be atomic
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.3.1 |
Component: | admin/console | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
The TracAdmin |
||
API Changes: |
|
||
Internal Changes: |
Description
The following issue was noted in #12226. In the command permission add user1 A B C
, if the user already possesses permission B
but not A
or C
, A
will be granted but C
will not be. Ideally, both permissions A
and C
would be granted and a message would be printed to indicate that the user already possesses permission B
.
Two fixes have been proposed in comment:7:ticket:12226. I'd like to spend some time to understand why the issue is only seen with MySQL before committing a fix.
Attachments (0)
Change History (4)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
Milestone: | 1.2 → 1.3.1 |
---|
comment:3 by , 8 years ago
API Changes: | modified (diff) |
---|---|
Release Notes: | modified (diff) |
Resolution: | → fixed |
Status: | assigned → closed |
Committed to trunk in r15094. The changes include comment:5:ticket:12226 and comment:7:ticket:12226.
comment:4 by , 5 years ago
Release Notes: | modified (diff) |
---|
Changes first proposed in #12226 can be found in log:rjollos.git:t12242_atomic_permission_add. I'll make additional revisions soon.