Closed kwin closed 1 month ago
Currently the regex is just evaluated to see if a group requires an according test user (https://github.com/Netcentric/accesscontroltool/blob/6499e07816c37d82147b0e5954b0db15704fa400/accesscontroltool-bundle/src/main/java/biz/netcentric/cq/tools/actool/configreader/TestUserConfigsCreator.java#L68). It would be beneficial to allow capturing groups which could be referenced then in any of the other properties.
That would allow to create short Test User names from very long group names. This is crucial as the impersonate dialog has a fix and narrow width:
I propose to allow to refer to capturing groups with %{cg<groupIndex>}.
%{cg<groupIndex>}
Currently the regex is just evaluated to see if a group requires an according test user (https://github.com/Netcentric/accesscontroltool/blob/6499e07816c37d82147b0e5954b0db15704fa400/accesscontroltool-bundle/src/main/java/biz/netcentric/cq/tools/actool/configreader/TestUserConfigsCreator.java#L68). It would be beneficial to allow capturing groups which could be referenced then in any of the other properties.
That would allow to create short Test User names from very long group names. This is crucial as the impersonate dialog has a fix and narrow width: