Kernel::Test::Role::Environment::HandlesACLs

NAME

Kernel::Test::Role::Environment::HandlesACLs – role to handle ACLs (import, cleanup).

PUBLIC INTERFACE

ACLImport()

Import and deploy ACL in backend.

    $Self->ACLImport(
        FilePath                  => '/scripts/test/sample/ACL/Properties.yml' # mandatory, YAML format
        OverwriteExistingEntities => 0,                                           # 0 || 1
    );

Returns 1 if ACL is imported and deployed well, otherwise returns 0.

_ACLCleanup()

removes all added or updated ACLs.

Scroll to Top