ViewModel access and security
No edit summary
No edit summary
Line 1: Line 1:
OCL operator object.canAccess(ViewModel):bool, allows you to check if you can access the vm with this root object given the vm's AccessExpression.
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.


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 08:30, 7 June 2023

This page was created by Lars.olofsson@mdriven.net on 2016-12-22. Last edited by Edgar on 2025-01-20.

OCL operator object.canAccess(ViewModel):bool allows you to check if you can access the vm with this root object given the vm'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.