Modify

Opened 13 years ago

Closed 4 years ago

#9148 closed defect (wontfix)

Please check also self defined permisstion, and not only TRAC_* permission

Reported by: antonxx@… Owned by: obs
Priority: high Component: BlackMagicTicketTweaksPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Hi,

I just tried you very nice plugin.

We have in our (trac_admin) permission list a group (in this case its a group) like:

  • developer = BROWSER_VIEW,...WIKI_VIEW
  • different users being developer:
    developer = jon, kate, bill

Now I have a custom field "accounting":

  • this flield should be hidden from customers
  • this field should be available for developer and trac-admins

What I did in trac.ini:

[blackmagic]

tweaks = accounting
accounting.permission = developer, TRAC_ADMIN
accounting.ondenial = hide

The Problem:

  • OK : as TRAC_ADMIN I can see the accounting (custom-ticket-field)
  • ERROR: as developer I can not see the field
  • OK: all other user can not see the field.

So it seems that only default trac permissions are checked.

Could you check this :-) ?

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by anonymous

Summary: Please check also self defined permisstion, and not ownly TRAC_... permissionPlease check also self defined permisstion, and not only TRAC_* permission

comment:2 Changed 4 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

This plugin is deprecated in Trac 1.4 and later. See migration tips on BlackMagicTicketTweaksPlugin page.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain obs.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.