OTRS API Reference JavaScript

Namespace: Core.Agent.Admin.ACL

Core.Agent.Admin. ACL

This namespace contains the special module functions for the ACL module.
Author:
  • OTRS AG
Source:

Methods

(static) AddItem($Object, Type)

Adds an item to the list.
Parameters:
Name Type Description
$Object jQueryObject
Type String
Source:

(static) CollectACLData($ItemObj) → {Object}

Collects the ACL data.
Parameters:
Name Type Description
$ItemObj jQueryObject
Source:
Returns:
ACL data structure.
Type
Object

(static) Init()

This function initialize the module.
Source:

(static) InitACLEdit()

Initializes the ACL editor.
Source:

(static) RestoreACLData($DataObj, $TargetObj) → {Boolean}

Build up the DOM from the stored ACL data.
Parameters:
Name Type Description
$DataObj jQueryObject
$TargetObj jQueryObject
Source:
Returns:
Returns false, if $DataObj.val() is not defined
Type
Boolean