Bug #2085
openAccess Control not shown by EML stylesheets
0%
Description
The access control information is not shown by XSLTs if no public read access
is specified. So if we have access control as:
<access>
<allow>
<principal>public</principal>
<permission>read</permission>
</allow>
<allow>
<principal>uid=sgarg,o=NCEAS,dc=ecoinformatics,dc=org</principal>
<permission>read</permission>
</allow>
</access>
or
<access>
<deny>
<principal>public</principal>
<permission>read</permission>
</deny>
<allow>
<principal>uid=sgarg,o=NCEAS,dc=ecoinformatics,dc=org</principal>
<permission>read</permission>
</allow>
</access>
then the XSLTs will show access rule for uid=sgarg
But if we have this:
<access>
<allow>
<principal>uid=sgarg,o=NCEAS,dc=ecoinformatics,dc=org</principal>
<permission>read</permission>
</allow>
</access>
then nothing is shown by XSLTs.