From Fedora Project Wiki

m (SOP Formatting)
m (Change from .txt to .rst)
 
(3 intermediate revisions by 3 users not shown)
Line 2: Line 2:
{{shortcut|ISOP:PRIVTRAC}}
{{shortcut|ISOP:PRIVTRAC}}


Provides for users only viewing tickets they are involved with.
{{admon/important|This is important|This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: [http://infrastructure.fedoraproject.org/infra/docs/privatefedorahosted.rst Private Fedora Hosted]. For changes, questions or comments,  
 
please contact anyone in the Fedora Infrastructure team.  
== Contact Information ==
}}
Owner: Fedora Infrastructure Team
 
Contact: #fedora-admin, sysadmin-hosted
 
Location: <not sure what to put here>
 
Servers: hosted1
 
Purpose: Provides for users only viewing tickets they are involved with.
 
== 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.


[[Category:Infrastructure SOPs]]
[[Category:Infrastructure SOPs]]
[[Category:Hosted Projects]]

Latest revision as of 19:00, 20 July 2015

Shortcut:
ISOP:PRIVTRAC
This is important
This SOP has moved to the fedora Infrastructure SOP git repo. Please see the current document at: Private Fedora Hosted. For changes, questions or comments, please contact anyone in the Fedora Infrastructure team.