I need your help about StudyPermissions based on series-permission.xsl file.
Two test roles and corresponding users (doc1, doc2) were created using web interface (please see tha attached screenshot "Testing Roles and Users.png"). I've tried to configure the permissions on the base of Institution Name and Modality, for example, but no effects in general. I assume that this series-permission.xsl file is not applied in general.
<!-- Sample configuration for grant/revoke Study Permissions on Series Stored event -->
<xsl:output method="xml"/>
<xsl:param name="calling" select="'SAMPLE_MOD'"/>
<xsl:template match="/dataset">
<permissions>
<xsl:variable name="studyUID" select="attr[@tag='0020000D']" />
<xsl:variable name="seriesMOD" select="attr[@tag='00080060']" />
<xsl:variable name="patIssuer" select="attr[@tag='00100021']" />
<xsl:choose>
<!--
Configuration for CT stored in client2 - Neurosurgery
-->
<xsl:when test="$seriesMOD='OT'">
<!-- grant Query, Read and Append permission on Study to client2 in special case -->
<grant role="HollyWoodRole" action="Q,E,U,D,R,A" suid="{attr[@tag='0020000D']}"/>
</xsl:when>
<!--
Configuration for CT stored in client1 - Radiology (having ISSUER set to DCM4CHEE)
-->
<xsl:when test="$seriesMOD='MR'">
<!-- grant Query, Read and Append permission on Study to client2 in special case -->
<grant role="HighFieldRole" action="Q,E,U,D,R,A" suid="{attr[@tag='0020000D']}"/>
</xsl:when>
<!--
all other Modalities stored client1 - Radiology (having ISSUER set to DCM4CHEE)
-->
<xsl:otherwise>
<!-- grant Query, Read and Append permission on Study to client1 per default -->
<grant role="HighFieldRole" action="Q,E,U,D,R,A" suid="{attr[@tag='0020000D']}"/>
</xsl:otherwise>
</xsl:choose>
</permissions>
</xsl:template>
</xsl:stylesheet>
Please help me here if someone has any ideas.