🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
ViewModel access and security
This page was created by Lars.olofsson on 2016-12-22. Last edited by Edgar on 2025-08-31.

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.