Edit privilege not working for conditions widget on clinical dashboard

Tags: #<Tag:0x00007fdde7ab21e8> #<Tag:0x00007fdde7ab2120>

Hi Team.

In the current system an user is able to see option to remove a condition even without the privilege Task: Manage Condition Lists

image

This is because, In the following ng-if defined in coreapps

ng-if="condition.voided===false && '${hasModifyConditionsPrivilege}'"

value of '${hasModifyConditionsPrivilege}' is always true as it is within single quotes.

Can we please create a bug card for this?

@mksd @dkayiwa

CC: @mddubey @rrameshbtech

1 Like

Why not? :slight_smile: