mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-21 00:02:17 +02:00
New lifecycle action SetCurrentPerson. Also improved the existing lifecycle action SetCurrentUser to prevent from calling it on an external key that is not pointing to users (!= contact), and if the target attribute is a string, then store the friendlyname there.
SVN:trunk[3616]
This commit is contained in:
@@ -203,7 +203,11 @@ Dict::Add('EN US', 'English', 'English', array(
|
||||
'Class:cmdbAbstractObject/Method:SetCurrentUser' => 'SetCurrentUser',
|
||||
'Class:cmdbAbstractObject/Method:SetCurrentUser+' => 'Set a field with the currently logged in user',
|
||||
'Class:cmdbAbstractObject/Method:SetCurrentUser/Param:1' => 'Target Field',
|
||||
'Class:cmdbAbstractObject/Method:SetCurrentUser/Param:1+' => 'The field to set, in the current object',
|
||||
'Class:cmdbAbstractObject/Method:SetCurrentUser/Param:1+' => 'The field to set, in the current object. If the field is a string then the friendly name will be used, otherwise the identifier will be used. That friendly name is the name of the person if any is attached to the user, otherwise it is the login.',
|
||||
'Class:cmdbAbstractObject/Method:SetCurrentPerson' => 'SetCurrentPerson',
|
||||
'Class:cmdbAbstractObject/Method:SetCurrentPerson+' => 'Set a field with the currently logged in person (the "person" attached to the logged in "user").',
|
||||
'Class:cmdbAbstractObject/Method:SetCurrentPerson/Param:1' => 'Target Field',
|
||||
'Class:cmdbAbstractObject/Method:SetCurrentPerson/Param:1+' => 'The field to set, in the current object. If the field is a string then the friendly name will be used, otherwise the identifier will be used.',
|
||||
'Class:cmdbAbstractObject/Method:SetElapsedTime' => 'SetElapsedTime',
|
||||
'Class:cmdbAbstractObject/Method:SetElapsedTime+' => 'Set a field with the time (seconds) elapsed since a date given by another field',
|
||||
'Class:cmdbAbstractObject/Method:SetElapsedTime/Param:1' => 'Target Field',
|
||||
|
||||
Reference in New Issue
Block a user