Skip to content

LUI-102 Hide concept stats in conceptSidebar if not allowed

Ivo requested to merge pull/68/LUI-102 into master

conceptForm.jsp includes conceptSidebar.jsp and only requires privilege "Manage Concepts" altough privileges

"Get Forms" "Get Observations" "Get Patient Programs"

are needed to show the concepts stats. Page shows APIAuthorizationException if one is missing.

  • add hasPrivilege tag around code related to concept stats in the conceptSidebar so it just doesnt show and conceptForm loads fine showing the concept.

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

Merge request reports