> > First you need to create new permission, e.g. TICKET_CLOSE.
>
> How can i do this?

I  found an intermediate solution by "hacking" the database:

    INSERT INTO permission (username, action) VALUES ("group_qa",
"TICKET_CLOSE");

After this, the manuall added permissions assignment is visible in the
admin section and also the trac-admin shows me this assignment.

In trac.ini i've set:
    [ticket-workflow]
    close.permissions = TICKET_CLOSE

Now only users that are members of group "group_qa" are able to close
a ticket.

For the moment this solution is fine by me. Are there any doubts about
this solution?

Maybe there'll be a more elegant way of adding user defined
permissions.

Best regards
Jean Marie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to