Skip to content

LUI-94 Extend hasPrivilege tag to ensure user has all privileges

Ivo requested to merge pull/58/LUI-94 into master
  • add attribute "hasAll" to openmrs tag "hasPrivilege"
  • add dataset xml with tests
  • add javadocs to class and methods
  • refactor code in doStartTag
  • extract private helper methods to check if privilege conditions satisfy
  • use java's Boolean.valueOf("true") to parse inverse/hasAll attribute values

see https://issues.openmrs.org/browse/LUI-94

Merge request reports

Loading