Modify ↓
#12913 closed defect (fixed)
Wrong error message on start after update from 1.2 to 1.2.2
| Reported by: | Dirk Stöcker | Owned by: | Jun Omae |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2.3 |
| Component: | general | Version: | 1.2.2 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: |
Fixed incorrect logging of negated permission as invalid in |
||
| API Changes: | |||
| Internal Changes: | |||
Description
Hi, I updated our trac from 1.2 to 1.2.2 and get following start message:
Trac[authz_policy] WARNING: The action !WIKI_MODIFY in the [wiki:...] section of fineperm.conf is not a valid action.
based on the line:
* = !WIKI_MODIFY
in fineperm.conf
Actually the line still works correctly, so I assume some sanity check does not properly recognize the "!" syntax.
Attachments (0)
Change History (4)
comment:2 by , 8 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
Committed the comment:1 patch in r16336, merged to trunk in r16337.
Proposed additions to test coverage in [2556a86ad/rjollos.git]. This is targeted to trunk since we have a mock logger that captures messages in-memory.
comment:3 by , 8 years ago
| Release Notes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
comment:4 by , 8 years ago
| Owner: | changed from to |
|---|
Note:
See TracTickets
for help on using tickets.



Thanks for the reporting! It seems that is regression of #12734.
tracopt/perm/authz_policy.py
Also, we should add unit tests with
!ACTION. Missing tests for that.