Opened 15 years ago
Closed 5 years ago
#6949 closed defect (wontfix)
permission ondenial isn't working in special case
Reported by: | Owned by: | obs | |
---|---|---|---|
Priority: | high | Component: | BlackMagicTicketTweaksPlugin |
Severity: | blocker | Keywords: | ondenial, permissions, reports |
Cc: | Trac Release: | 0.11 |
Description
Hi! I got a problem using this option. The case:
- I got a field "initial_effort"
[blackmagic] tweaks = initial_effort initial_effort.hide = false initial_effort.ondenial = hide initial_effort.permission = TRAC_ADMIN
- someone with permissions creates a custom report query and selects a initial_effort as a column
- Sames this report
- If someone without permission selects this report he can see this column with values.
In all other cases it seems to work properly.
Attachments (0)
Change History (5)
comment:1 Changed 15 years ago by
Status: | new → assigned |
---|
comment:2 Changed 15 years ago by
Issue fixed.
I've left it so the column remains but if the ondenial is set to "hide" the value will be replaced with a "-" this is the simplest way of doing it and also allows individual values to be show when using permission such as TICKET_IS_OWNER
comment:3 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:4 Changed 14 years ago by
Keywords: | reports added |
---|---|
Priority: | normal → high |
Resolution: | fixed |
Severity: | normal → blocker |
Status: | closed → reopened |
Hi I seem to be having a similar problem. I have a custom field called name and the following in the ini file.
name.hide= false name.ondenial = hide name.permission = REPORT_CHAMP tweaks = name (plus a few others I need to tweak)
I have set the permission policies up in the ini file too.
When I create report that includes the name field it hides it when an anonymous user is viewing it (as expected). When I log in with a username that has been given the correct permission (REPORT_CHAMP) the field still does not show. When I click through to the ticket to see more information the name field is still missing.
It only seems to be half working for me. I have the newest version of the plugin and tried everything I can think of.
please help! It is a show show stopper for me because I can not truly hide all the sensitive fields.
comment:5 Changed 5 years ago by
Resolution: | → wontfix |
---|---|
Status: | reopened → closed |
This plugin is deprecated in Trac 1.4 and later. See migration tips on BlackMagicTicketTweaksPlugin page.
Issue verified with trac 0.11.7, creating patch.