Skip to content

SRS ACL

An Access Control List (ACL) is a list of permissions attached to an object. Use the acl attribute on the itm tag with a model equal to column, command, output, target, or srs tag. Access can be limited using:

  • roles - ex. acl="sys_administrato"
  • teams - ex. acl="@teamshort"
  • users - ex. acl="[email protected]"
  • anonymous - ex. acl="public" - public access

Examples

XML
1
2
3
4
5
6
<srs label="Hello" acl="test">
  <def>
    <itm model="command" acl="@team1">select 'Hello Team1'</itm>
    <itm model="command" acl="@team2">select 'Hello Team2'</itm>
  </def>
</srs>
XML
<srs title="Hello World">
  <def>
    <itm>select 'Acl column test 1' test1 , 'Acl column test 2' test2</itm>
    <itm model="target" name="xlsx" label="Excel"/>
    <itm model="target" name="html"/>
      <itm model="target" name="xml"/>
    <itm model="target" name="pdf"/>
    <itm model="target" name="json" acl="@teamshort"/>
    <itm model="target" name="xlsx" acl="ims_excel"/>
    <itm model="target" name="json"/> dw 
  </def>
</srs>