Dynamic Field as parameter in the ACL Change Settings

Moderator: crythias

Post Reply
Ytigiev
Znuny newbie
Posts: 23
Joined: 03 Dec 2018, 13:37
Znuny Version: 6.0.14

Dynamic Field as parameter in the ACL Change Settings

Post by Ytigiev »

Hello,

Is it possible to use a Dynamic Field in ACL condition instead of predefined string? If yes what is correct syntax?
For example [% Data.DynamicField_Country.* %] instead of the predefined string "Germany"

Code: Select all

  ChangeTime: 2019-04-17 05:59:59
  Comment: ''
  ConfigChange:
    Possible:
      Ticket:
        DynamicField_City:
        - '[RegExp][% Data.MyDynamicField_Country.* %]'
  ConfigMatch:
    Properties:
      Process:
        ActivityDialogEntityID:
        - ActivityDialog-885e0a99aada1cb71dd981976c93164b
      Ticket: {}
  CreateBy: user
  CreateTime: 2019-04-17 05:40:01
  Description: ''
  ID: '35'
  Name: My Test ACL
  StopAfterMatch: 0
  ValidID: '1'
root
Administrator
Posts: 3954
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Dynamic Field as parameter in the ACL Change Settings

Post by root »

Hi,

No this is not possible. You need a ACL module as I mentioned in your other post.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Ytigiev
Znuny newbie
Posts: 23
Joined: 03 Dec 2018, 13:37
Znuny Version: 6.0.14

Re: Dynamic Field as parameter in the ACL Change Settings

Post by Ytigiev »

It will be a useful feature if OTRS implement it.
root
Administrator
Posts: 3954
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Dynamic Field as parameter in the ACL Change Settings

Post by root »

Hi,

Make a suggestion or contribute it.

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Ytigiev
Znuny newbie
Posts: 23
Joined: 03 Dec 2018, 13:37
Znuny Version: 6.0.14

Re: Dynamic Field as parameter in the ACL Change Settings

Post by Ytigiev »

How can I do that?
Post Reply