Modify

Opened 6 years ago

Last modified 5 years ago

#9148 new defect

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 (1)

comment:1 Changed 5 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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain obs.

Add Comment


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

 
Note: See TracTickets for help on using tickets.