[otrs-cvs] ITSMChangeManagement/Kernel/System/ITSMChange ITSMWorkOrder.pm, 1.134, 1.135

"CVS commits notifications of OTRS.org" <[email protected]>
Newsgroups gmane.comp.otrs.cvs
Message-ID <[email protected]>
Comments:
Update of /home/cvs/ITSMChangeManagement/Kernel/System/ITSMChange
In directory lancelot:/tmp/cvs-serv12293/Kernel/System/ITSMChange

Modified Files:
	ITSMWorkOrder.pm 
Log Message:
Added optional Action parameter to Permission functions to simplify future developments for the permission modules based on the current action.

Author: ub

Index: ITSMWorkOrder.pm
===================================================================
RCS file: /home/cvs/ITSMChangeManagement/Kernel/System/ITSMChange/ITSMWorkOrder.pm,v
retrieving revision 1.134
retrieving revision 1.135
diff -2 -u -d -r1.134 -r1.135
--- ITSMWorkOrder.pm	30 Nov 2012 01:29:19 -0000	1.134
+++ ITSMWorkOrder.pm	5 Feb 2013 20:25:51 -0000	1.135
@@ -1,5 +1,5 @@
 # --
 # Kernel/System/ITSMChange/ITSMWorkOrder.pm - all workorder functions
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -2205,5 +2205,6 @@
     my $Access = $WorkOrderObject->Permission(
         UserID             => 123,
-        Type               => 'ro',   # 'ro' and 'rw' are supported
+        Type               => 'ro',                         # 'ro' and 'rw' are supported
+        Action             => 'AgentITSMWorkOrderReport',   # optional
         WorkOrderID        => 4444,
         PermissionRegistry => 'ITSMWorkOrder::TakePermission',
---------------------------------------------------------------------
OTRS mailing list: cvs-log - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/cvs-log
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/cvs-log
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.