Date: Thu, 28 Mar 2013 05:48:49 +0800 (CST) From: Hung-Yi Chen <gaod@hychen.org> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/177423: [NEW PORT]: www/trac-attachmentpolicy: Provides delete permission to Trac normal user Message-ID: <201303272148.r2RLmnwR018326@cse.tw> Resent-Message-ID: <201303272150.r2RLo3sk085347@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 177423 >Category: ports >Synopsis: [NEW PORT]: www/trac-attachmentpolicy: Provides delete permission to Trac normal user >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Mar 27 21:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Hung-Yi Chen >Release: FreeBSD 9.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD cse.tw 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: >How-To-Repeat: Adds permission TICKET_ATTACHMENT_DELETE for exclusive right to delete and replace attachments, regardless who added/changed it. Everybody who has permission TICKET_ATTACHMENT_DELETE can delete or replace attachments, regardless who added / changed it. WWW: http://trac-hacks.org/wiki/AttachmentPolicyPlugin >Fix: --- trac-attachmentpolicy.diff begins here --- Index: Makefile =================================================================== --- Makefile (revision 315411) +++ Makefile (working copy) @@ -1882,6 +1882,7 @@ SUBDIR += trac-accountmanager SUBDIR += trac-addcomment SUBDIR += trac-advancedticketworkflow + SUBDIR += trac-attachmentpolicy SUBDIR += trac-announcer SUBDIR += trac-autocomplete SUBDIR += trac-batchmodify Index: trac-attachmentpolicy/Makefile =================================================================== --- trac-attachmentpolicy/Makefile (revision 0) +++ trac-attachmentpolicy/Makefile (working copy) @@ -0,0 +1,30 @@ +# Created by: Hung-Yi Chen <gaod@hychen.org> +# $FreeBSD$ + +PORTNAME= attachmentpolicy +PORTVERSION= 0.1.0.${SVN_REV} +CATEGORIES= www devel python +MASTER_SITES= http://trac-hacks.org/changeset/${SVN_REV}/attachmentpolicyplugin?old_path=/&format=zip&filename= +PKGNAMEPREFIX= trac- +DISTNAME= ${PORTNAME}plugin-r${SVN_REV} + +MAINTAINER= gaod@hychen.org +COMMENT= Provides delete permission to Trac normal user + +LICENSE= BSD + +SVN_REV= 12775 + +RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac + +WRKSRC= ${WRKDIR}/${PORTNAME}plugin/0.12 +USE_ZIP= yes +USE_PYTHON= -2.7 +USE_PYDISTUTILS= easy_install + +FETCH_BEFORE_ARGS= -o ${DISTFILES} +PYDISTUTILS_PKGNAME= Attachment_Policy_Plugin +PYDISTUTILS_PKGVERSION= ${PORTVERSION:C/.${SVN_REV}//g} +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% + +.include <bsd.port.mk> Index: trac-attachmentpolicy/distinfo =================================================================== --- trac-attachmentpolicy/distinfo (revision 0) +++ trac-attachmentpolicy/distinfo (working copy) @@ -0,0 +1,2 @@ +SHA256 (attachmentpolicyplugin-r12775.zip) = be8493552557ee027d708dd32debcd1b7ca1c08cdb610a1490ac1b03b59b02ba +SIZE (attachmentpolicyplugin-r12775.zip) = 1731 Index: trac-attachmentpolicy/pkg-descr =================================================================== --- trac-attachmentpolicy/pkg-descr (revision 0) +++ trac-attachmentpolicy/pkg-descr (working copy) @@ -0,0 +1,7 @@ +Adds permission TICKET_ATTACHMENT_DELETE for exclusive right +to delete and replace attachments, regardless who added/changed it. + +Everybody who has permission TICKET_ATTACHMENT_DELETE can delete +or replace attachments, regardless who added / changed it. + +WWW: http://trac-hacks.org/wiki/AttachmentPolicyPlugin --- trac-attachmentpolicy.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303272148.r2RLmnwR018326>