Modify

Opened 3 years ago

Last modified 18 months 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:

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 18 months ago by anonymous

  • Summary changed from Please check also self defined permisstion, and not ownly TRAC_... permission to Please check also self defined permisstion, and not only TRAC_* permission

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.