Aman-Mittal commented on issue #115:
URL: 
https://github.com/apache/fineract-backoffice-ui/issues/115#issuecomment-5158337099

   This is implemented on `main`. Closing.
   
   `HasPermissionDirective` takes `string | string[]`, treating an array as 
logical OR by default,
   with `matchAll: true` for AND:
   
   ```html
   <button *appHasPermission="['CREATE_CLIENT', 
'UPDATE_CLIENT']">Actions</button>
   <button *appHasPermission="['CREATE_CLIENT', 'UPDATE_CLIENT']; matchAll: 
true">Strict</button>
   ```
   
   It is a signal input, so the decision re-evaluates when the permissions 
change, when the user
   changes, and when a deployment toggles RBAC.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to