esi-security-templates
esi-security-templates library provides templates for profiles
Available functions
All functions have to be called according to the ESI standard, using colons, e.g. lib:FUNCTIONNAME(params)
Documentation
GENERATE_RANDOM_STRING(length)
Generate random string with provided length, consisting of numbers and characters
SET_REPLACEMENTS(replacementsKvP)
Set list of replacement tokens, which will be applied to all templates
SET_PROFILE_TEMPLATES_MASTER(templates)
Override list of default profile templates for the Master-Core.
Property values can contain tokens in the format TOKEN, which will be replaced.
GET_PROFILE_TEMPLATES_MASTER(massTbl,includeRefs,hasEngineers)
Retrieve resolved list of Master-Core profiles with properties according to template, with resolved token values.
one without DataStudio permissions 'engineers'). Otherwise, the 'readers' profile has permissions for DataStudio.
SET_PROFILE_TEMPLATES_LOCAL(templates)
Override list of default profile templates for a Local-Core.
Property values can contain tokens in the format TOKEN, which will be replaced.
GET_PROFILE_TEMPLATES_LOCAL(massTbl,includeRefs,hasEngineers,hasVkpi,hasMES)
Retrieve resolved list of Local-Core profiles with properties according to template, with resolved token values.
one without DataStudio permissions 'engineers'). Otherwise, the 'readers' profile has permissions for DataStudio.