Restricting data access
No edit summary
mNo edit summary
Line 11: Line 11:
Singleton.oclSingleton.AllowedAccess
Singleton.oclSingleton.AllowedAccess
</syntaxhighlight>
</syntaxhighlight>
[[File:Documentation Restricting data access 1729508675945.png|thumb|300x300px|left]]
{| class="wikitable"
|+
!<gallery>
File:Documentation Restricting data access 1729508675945.png
</gallery>
![[File:Documentation Restricting data access 1729509462077.png|thumb|300x300px]]
!
!
|-
|
|
|
|
|}
<br /><br /><br /><br /><br /><br /><br /><br /><br />[[Documentation:AccessGroups, InterestGroups and ViewModel-Enable|Interest Groups]]
<br /><br /><br /><br /><br /><br /><br /><br /><br />[[Documentation:AccessGroups, InterestGroups and ViewModel-Enable|Interest Groups]]


[[Documentation:AccessGroups, InterestGroups and ViewModel-Enable|ViewModel-Enable]]
[[Documentation:AccessGroups, InterestGroups and ViewModel-Enable|ViewModel-Enable]]

Revision as of 11:24, 21 October 2024

This page was created by Stephanie@mdriven.net on 2024-04-05. Last edited by Edgar on 2025-01-20.

Restricting Data Access in MDriven can be achieved in 3 ways which are:

Below is a sample model, with a singleton class that has 2 attributes: Allowed Access and Interested as Booleans.

Access Groups

Documentation Restricting data access 1729507697380.png










Create Access Groups through the AccessGroups editor in the Designer as shown below: Add the Ocl Expression below in the View Enable Expression (Enable of ViewModel edit Controls)

Singleton.oclSingleton.AllowedAccess
Documentation Restricting data access 1729509462077.png










Interest Groups

ViewModel-Enable

MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments