[otrs-cvs] ITSMChangeManagement/Kernel/System ITSMChange.pm, 1.283, 1.284

"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
In directory lancelot:/tmp/cvs-serv12293/Kernel/System

Modified Files:
	ITSMChange.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: ITSMChange.pm
===================================================================
RCS file: /home/cvs/ITSMChangeManagement/Kernel/System/ITSMChange.pm,v
retrieving revision 1.283
retrieving revision 1.284
diff -2 -u -d -r1.283 -r1.284
--- ITSMChange.pm	30 Nov 2012 01:29:19 -0000	1.283
+++ ITSMChange.pm	5 Feb 2013 20:25:51 -0000	1.284
@@ -1,5 +1,5 @@
 # --
 # Kernel/System/ITSMChange.pm - all change functions
-# Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
+# Copyright (C) 2001-2013 OTRS AG, http://otrs.org/
 # --
 # $Id$
@@ -2712,5 +2712,6 @@
     my $Access = $ChangeObject->Permission(
         UserID             => 123,
-        Type               => 'ro',   # 'ro' and 'rw' are supported
+        Type               => 'ro',                         # 'ro' and 'rw' are supported
+        Action             => 'AgentITSMChangeEdit',        # optional
         ChangeID           => 3333,   # optional, do not pass for 'ChangeAdd'
         PermissionRegistry => 'ITSMChange::Permission',
---------------------------------------------------------------------
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.