ViewModel access and security
No edit summary
No edit summary
Line 1: Line 1:
OCL operator <code>object.canAccess(ViewModel):bool</code> allows you to check if you can access the vm with this root object given the vm's AccessExpression.
OCL operator '''object.canAccess(ViewModel):bool''' allows you to check if you can access the ViewModel with this root object given the ViewModel's AccessExpression.
 
* This enables you to disable actions that will end up showing AccessDenied and allows you to stop reports from being created based on a ViewModel.
This enables you to disable actions that will end up showing AccessDenied and allows you to stop reports from being created based on a ViewModel.
[[Category:View Model]]
[[Category:View Model]]

Revision as of 05:52, 19 October 2023

OCL operator object.canAccess(ViewModel):bool allows you to check if you can access the ViewModel with this root object given the ViewModel's AccessExpression.

  • This enables you to disable actions that will end up showing AccessDenied and allows you to stop reports from being created based on a ViewModel.
This page was edited 96 days ago on 02/10/2024. What links here