[Python-apps-commits] r6754 - in packages/trac-privateticketsplugin/trunk (18 files)
francisco at users.alioth.debian.org
francisco at users.alioth.debian.org
Thu Mar 10 19:21:41 UTC 2011
Date: Thursday, March 10, 2011 @ 19:21:31
Author: francisco
Revision: 6754
[svn-inject] Applying Debian modifications (2.0.3-1) to trunk
Added:
packages/trac-privateticketsplugin/trunk/0.11/
packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/
packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/PKG-INFO
packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/SOURCES.txt
packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/dependency_links.txt
packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/entry_points.txt
packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/requires.txt
packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/top_level.txt
packages/trac-privateticketsplugin/trunk/debian/
packages/trac-privateticketsplugin/trunk/debian/README.Debian
packages/trac-privateticketsplugin/trunk/debian/changelog
packages/trac-privateticketsplugin/trunk/debian/compat
packages/trac-privateticketsplugin/trunk/debian/control
packages/trac-privateticketsplugin/trunk/debian/copyright
packages/trac-privateticketsplugin/trunk/debian/pycompat
packages/trac-privateticketsplugin/trunk/debian/rules
packages/trac-privateticketsplugin/trunk/debian/source/
packages/trac-privateticketsplugin/trunk/debian/source/format
Added: packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/PKG-INFO
===================================================================
--- packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/PKG-INFO (rev 0)
+++ packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/PKG-INFO 2011-03-10 19:21:31 UTC (rev 6754)
@@ -0,0 +1,70 @@
+Metadata-Version: 1.0
+Name: TracPrivateTickets
+Version: 2.0.3
+Summary: Modified ticket security for Trac.
+Home-page: http://trac-hacks.org/wiki/PrivateTicketsPlugin
+Author: Noah Kantrowitz
+Author-email: noah at coderanger.net
+License: BSD
+Download-URL: http://trac-hacks.org/svn/privateticketsplugin/0.11#egg=TracPrivateTickets-dev
+Description: Notes
+ =====
+ Allow users to only see tickets they are associated with.
+
+ There are three main permissions for this plugin: ``TICKET_VIEW_REPORTER``,
+ ``TICKET_VIEW_CC``, and ``TICKET_VIEW_OWNER``. ``TICKET_VIEW_SELF`` is an
+ alias for all three of these.
+
+ With each permission, users will only be able to see tickets where they are
+ the person mentioned in the permission. So if a user has
+ ``TICKET_VIEW_REPORTER``, they can only see tickets they reported. For
+ ``TICKET_VIEW_CC``, they just have to be included in the CC list.
+
+ There are also group-based permissions: ``TICKET_VIEW_REPORTER_GROUP``,
+ ``TICKET_VIEW_CC_GROUP``, and ``TICKET_VIEW_OWNER_GROUP``. These work in a
+ similar way to their non-group counterparts, except that you are granted
+ access if you share a group with the target user. For example, if ticket 1 was
+ reported by Allan, and Allan and Bob are both in the group company_foo, and
+ Bob has ``TICKET_VIEW_REPORTER_GROUP``, then Bob will be able to see ticket 1
+ since he shares a group with the reporter. Each group-based permission is also
+ an alias for the normal one, so you do not have to grant both.
+ ``TICKET_VIEW_GROUP`` is an alias for all the group-based permissions (and
+ therefore all the normal ones as well).
+
+ These extra permissions can only deny access, not allow it. This means the
+ user must still have ``TICKET_VIEW`` granted as normal.
+
+ Finally, users with ``TRAC_ADMIN`` will not be restricted by this plugin.
+ The meta-user "anonymous" also cannot be restricted by this plugin, as their
+ identity isn't known to be checked. Be sure to not grant ``TICKET_VIEW`` to
+ anonymous, or unauthenticated users will be able to see all tickets.
+
+ Configuration
+ =============
+ All configuration options go in the ``[privatetickets]`` section.
+
+ ``group_blacklist``
+ Groups to ignore for the purposes of the ``*_GROUP`` permissions.
+
+ Defaults to "``anonymous, authenticated``"
+
+ You must also add ``PrivateTicketsPolicy`` to your ``permission_policies``
+ setting in trac.ini. It must be before the ``DefaultPermissionPolicy``. See
+ below for an example if you don't have any other policies.
+
+ Example
+ =======
+ An example configuration::
+
+ [privatetickets]
+ group_blacklist = anonymous, authenticated, labusers
+
+ [components]
+ privatetickets.* = enabled
+
+ [trac]
+ permission_policies = PrivateTicketsPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy
+
+Keywords: trac plugin ticket permissions security
+Platform: UNKNOWN
+Classifier: Framework :: Trac
Added: packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/SOURCES.txt
===================================================================
--- packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/SOURCES.txt (rev 0)
+++ packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/SOURCES.txt 2011-03-10 19:21:31 UTC (rev 6754)
@@ -0,0 +1,10 @@
+README
+setup.py
+TracPrivateTickets.egg-info/PKG-INFO
+TracPrivateTickets.egg-info/SOURCES.txt
+TracPrivateTickets.egg-info/dependency_links.txt
+TracPrivateTickets.egg-info/entry_points.txt
+TracPrivateTickets.egg-info/requires.txt
+TracPrivateTickets.egg-info/top_level.txt
+privatetickets/__init__.py
+privatetickets/policy.py
\ No newline at end of file
Added: packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/dependency_links.txt
===================================================================
--- packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/dependency_links.txt (rev 0)
+++ packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/dependency_links.txt 2011-03-10 19:21:31 UTC (rev 6754)
@@ -0,0 +1 @@
+
Added: packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/entry_points.txt
===================================================================
--- packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/entry_points.txt (rev 0)
+++ packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/entry_points.txt 2011-03-10 19:21:31 UTC (rev 6754)
@@ -0,0 +1,3 @@
+[trac.plugins]
+privatetickets.policy = privatetickets.policy
+
Added: packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/requires.txt
===================================================================
--- packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/requires.txt (rev 0)
+++ packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/requires.txt 2011-03-10 19:21:31 UTC (rev 6754)
@@ -0,0 +1 @@
+Trac
\ No newline at end of file
Added: packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/top_level.txt
===================================================================
--- packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/top_level.txt (rev 0)
+++ packages/trac-privateticketsplugin/trunk/0.11/TracPrivateTickets.egg-info/top_level.txt 2011-03-10 19:21:31 UTC (rev 6754)
@@ -0,0 +1 @@
+privatetickets
Property changes on: packages/trac-privateticketsplugin/trunk/debian
___________________________________________________________________
Added: mergeWithUpstream
+ 1
Added: packages/trac-privateticketsplugin/trunk/debian/README.Debian
===================================================================
--- packages/trac-privateticketsplugin/trunk/debian/README.Debian (rev 0)
+++ packages/trac-privateticketsplugin/trunk/debian/README.Debian 2011-03-10 19:21:31 UTC (rev 6754)
@@ -0,0 +1,17 @@
+trac-privateticketsplugin for Debian
+------------------------------------
+
+To configure properly in Debian is needed set to trac project conf file trac.ini,
+the permission policy "PrivateTickesPolicy".
+
+Example:
+
+[trac]
+permission_policies = PrivateTicketsPolicy, DefaultPermissionPolicy, LegacyAttachmentPolicy
+
+For more information, please read the README file, and the official web site:
+http://trac-hacks.org/wiki/PrivateTicketsPlugin
+
+
+ -- Francisco Manuel Garcia Claramonte <francisco at debian.org> Fri, 04 Mar 2011 17:41:12 +0100
+
Added: packages/trac-privateticketsplugin/trunk/debian/changelog
===================================================================
--- packages/trac-privateticketsplugin/trunk/debian/changelog (rev 0)
+++ packages/trac-privateticketsplugin/trunk/debian/changelog 2011-03-10 19:21:31 UTC (rev 6754)
@@ -0,0 +1,5 @@
+trac-privateticketsplugin (2.0.3-1) unstable; urgency=low
+
+ * Initial release. (Closes: #617410)
+
+ -- Francisco Manuel Garcia Claramonte <francisco at debian.org> Fri, 04 Mar 2011 17:41:12 +0100
Added: packages/trac-privateticketsplugin/trunk/debian/compat
===================================================================
--- packages/trac-privateticketsplugin/trunk/debian/compat (rev 0)
+++ packages/trac-privateticketsplugin/trunk/debian/compat 2011-03-10 19:21:31 UTC (rev 6754)
@@ -0,0 +1 @@
+7
Added: packages/trac-privateticketsplugin/trunk/debian/control
===================================================================
--- packages/trac-privateticketsplugin/trunk/debian/control (rev 0)
+++ packages/trac-privateticketsplugin/trunk/debian/control 2011-03-10 19:21:31 UTC (rev 6754)
@@ -0,0 +1,23 @@
+Source: trac-privateticketsplugin
+Section: web
+Priority: optional
+Build-Depends-Indep: python-setuptools (>= 0.5)
+Build-Depends: python-support, python-all, cdbs, debhelper (>= 7.0)
+Maintainer: Francisco Manuel Garcia Claramonte <francisco at debian.org>
+Uploaders: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
+Standards-Version: 3.9.1
+Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/trac-privateticketsplugin/trunk/
+Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/trac-privateticketsplugin/trunk/
+XS-Python-Version: all
+Homepage: http://trac-hacks.org/wiki/PrivateTicketsPlugin
+
+Package: trac-privateticketsplugin
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}, trac
+Description: Allow Trac users to only see tickets they are associated with
+ Privateticketsplugin allows to config Trac that each user only be able to
+ see tickets wich is the person mentioned as owner, reporter or included
+ in CC list.
+ .
+ This plugin manages Trac users and groups permissions.
+ XB-Python-Version: ${python:Versions}
Added: packages/trac-privateticketsplugin/trunk/debian/copyright
===================================================================
--- packages/trac-privateticketsplugin/trunk/debian/copyright (rev 0)
+++ packages/trac-privateticketsplugin/trunk/debian/copyright 2011-03-10 19:21:31 UTC (rev 6754)
@@ -0,0 +1,36 @@
+This package was debianized by:
+
+Francisco Manuel Garcia Claramonte <francisco at debian.org> Fri, 04 Mar 2011 17:41:12 +0100
+
+It was downloaded from:
+
+ http://trac-hacks.org/wiki/PrivateTicketsPlugin
+
+Upstream Author:
+
+ Noah Kantrowitz <noah at coderanger.net>
+
+Copyright:
+
+ (c) 2008 Noah Kantrowitz
+
+
+License:
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted under the terms of the BSD License.
+
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
+
+On Debian systems, the complete text of the BSD License can be found
+in `/usr/share/common-licenses/BSD'.
Added: packages/trac-privateticketsplugin/trunk/debian/pycompat
===================================================================
--- packages/trac-privateticketsplugin/trunk/debian/pycompat (rev 0)
+++ packages/trac-privateticketsplugin/trunk/debian/pycompat 2011-03-10 19:21:31 UTC (rev 6754)
@@ -0,0 +1 @@
+2
Added: packages/trac-privateticketsplugin/trunk/debian/rules
===================================================================
--- packages/trac-privateticketsplugin/trunk/debian/rules (rev 0)
+++ packages/trac-privateticketsplugin/trunk/debian/rules 2011-03-10 19:21:31 UTC (rev 6754)
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+DEB_PYTHON_SYSTEM=pysupport
+DEB_SRCDIR=0.11
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/python-distutils.mk
Property changes on: packages/trac-privateticketsplugin/trunk/debian/rules
___________________________________________________________________
Added: svn:executable
+ *
Added: packages/trac-privateticketsplugin/trunk/debian/source/format
===================================================================
--- packages/trac-privateticketsplugin/trunk/debian/source/format (rev 0)
+++ packages/trac-privateticketsplugin/trunk/debian/source/format 2011-03-10 19:21:31 UTC (rev 6754)
@@ -0,0 +1 @@
+1.0
More information about the Python-apps-commits
mailing list