Edit privilege not working for conditions widget on clinical dashboard

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


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: