Ticket #6830 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

ticket_type permissions problems.

Reported by: dimitri.slavutsky@ict-se.de Assigned to: obs
Priority: normal Component: BlackMagicTicketTweaksPlugin
Severity: normal Keywords: ticket_type
Cc: Trac Release: 0.11

Description

Hi! I'm having problem to configure ticket_type permissions. Actually this show absolutly no effect. I configured as follwed: [components] blackmagic.* = enabled

[blackmagic] ticket_type.Working Package = TICKET_MODIFY ticket_type.Open Issue = TICKET_VIEW

[trac] permission_policies = DefaultPermissionPolicy?, LegacyAttachmentPolicy?,VirtualTicketPermissionsPolicy?,BlackMagicTicketTweaks

So I hoped, that the users, with TICKET_VIEW permission should be able only to see Open Issue's and the users with TICKET_MODIFY - Working Pagackes. But this take no effect. Instead, I'm getting this message in the log: 2010-03-19 15:35:41,417 Trac[blackmagic] DEBUG: Ticket permissions TICKET_MODIFY type Working Package 2010-03-19 15:35:41,417 Trac[blackmagic] DEBUG: Perm TICKET_MODIFY no in permissions 2010-03-19 15:35:41,417 Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_MODIFY on <Resource u'ticket:7'>

Attachments

Change History

03/19/10 20:48:24 changed by obs

  • status changed from new to assigned.

Try the following

1) Change the permissions_policies to

permission_policies = BlackMagicTicketTweaks,DefaultPermissionPolicy, LegacyAttachmentPolicy,VirtualTicketPermissionsPolicy

then restart trac

If that doesn't work, try creating a new ticket type that is without spaces i.e. testtype and use the following permissions

ticket_type.testtype = TICKET_MODIFY

Let me know how it goes.

03/23/10 09:32:28 changed by dimitri.slavutsky@ict-se.de

  • status changed from assigned to closed.
  • resolution set to fixed.

I made those changes and it seems to working. I'll inform you if any problems will came up in the future. thanks.

but I don't know what helped. permission_policies, trac restart or additional ticket_type without space. 'cause it working know even with the types with space.


Add/Change #6830 (ticket_type permissions problems.)




Change Properties
Action