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"/>
  • Source:

  • Session info cleaned by:

  • JS API for xtk:sessioninfo: