Modify

Opened 15 years ago

Closed 15 years ago

#6830 closed defect (fixed)

ticket_type permissions problems.

Reported by: dimitri.slavutsky@… Owned by: 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 (0)

Change History (2)

comment:1 Changed 15 years ago by obs

Status: newassigned

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.

comment:2 Changed 15 years ago by dimitri.slavutsky@…

Resolution: fixed
Status: assignedclosed

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.

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.