Access to records of xtk:sessionInfo
without the internal
account by creating a schema extension.
πππ
Create a schema extension name nms:sessionInfo
<srcSchema entitySchema="xtk:srcSchema" extendedSchema="xtk:sessionInfo"
name="sessionInfo" namespace="nms" xtkschema="xtk:srcSchema">
<element name="sessionInfo">
<!-- delete standard READ filter -->
<sysFilter _operation="delete" name="readAccess"/>
<!-- Re create it to allow admins only -->
<sysFilter name="newReadAccess">
<condition enabledIf="hasNamedRight('admin')=false" expr="FALSE"/>
</sysFilter>
</element>
</srcSchema>
- Source:
https://docs.campaign.adobe.com/doc/AC/fr/CFG_Edition_des_schemas_Filtrage_des_schemas.html
- Session info cleaned by:
- JS API for xtk:sessioninfo:
https://docs.campaign.adobe.com/doc/AC/en/jsapi/s-xtk-session.html