From Fedora Project Wiki

No edit summary
(redirect page to new infra-docs)
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
= Hosted Project PrivateTicketsPlugin - SOP =
{{header|infra}}
{{shortcut|ISOP:PRIVTRAC}}


== Contact Information ==
Owner: Fedora Infrastructure Team


Contact: #fedora-admin, sysadmin-hosted
This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: http://infrastructure.fedoraproject.org/infra/docs/privatefedorahosted.txt


Location: <not sure what to put here>
For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.


Servers: hosted1


Purpose: Provides for users only viewing tickets they are involved with.
[[Category:Infrastructure SOPs]]
 
== Description ==
 
Fedora Hosted Projects have the option of setting ticket permissions so that only users involved with tickets can see them. This plugin requires someone in sysadmin-hosted to set it up, and requires justification to use. The only current implementation is a request tracking system at https://fedorahosted.org/famnarequests for tracking requests for North American ambassadors since mailing addresses, etc will be put in there.
 
== Implementation ==
 
On hosted1:
 
* sudo -u apache vim /srv/web/trac/projects/<project name>/conf/trac.ini
 
Add the following to the appropriate sections of trac.ini
 
<pre>
    [privatetickets]
    group_blacklist = anonymous, authenticated
   
    [components]
    privatetickets.* = enabled
   
    [trac]
    permission_policies = PrivateTicketsPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy
</pre>
 
Note that for projects not currently using plugins, you'll have to add the [components] section, and you'll need to add the permission_policies to the [trac] section.
 
Next, someone with TRAC_ADMIN needs to grant TICKET_VIEW_SELF (a new permission) to authenticated.  This permission allows users to view tickets that they are either owner, CC, or reporter on.  There are other options more fully described at [http://trac-hacks.org/wiki/PrivateTicketsPlugin the upstream site].
 
Make sure that TICKET_VIEW is removed from anonymous, or else this plugin will have no effect.

Revision as of 18:51, 19 December 2011

Shortcut:
ISOP:PRIVTRAC


This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: http://infrastructure.fedoraproject.org/infra/docs/privatefedorahosted.txt

For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.