Access groups

This article was moved to MDriven Wiki Access groups

You probably have different users in your system and these users are probably associated with an access group somehow (ActiveDirectory or something in your application).

You will want to allow and disallow user groups to execute actions.

This could be done as enable expressions on the Actions – but that would not be very nice since it would kidnap the use of enable from the normal things we use enable for (check data state). Also if a user is never allowed to execute “TheAdminInterface” it might be best to hide that action from view all together.

To facilitate this Modlr has a new concept called AccessGroups:


Clicking up the AccessGroup dialog shows you this:


Here you can add groups and define the EnableExpression and VisibleExpression for the AccessGroups.

An AccessGroup the contain actions and you can add and remove the association here.

If an action is a member of multiple AccessGroups the result will be : (Group1.IsEnable OR Group2.IsEnable OR Group3.IsEnable) AND action.IsEnable

And for visible the result is (Group1.IsVisible OR Group2.IsVisible OR Group3.IsVisible) AND action.OptInInContext

This entry was posted in WECPOF. Bookmark the permalink.

3 Responses to Access groups

  1. Pingback: Getting safe–limited–meta information from a Turnkey app | CapableObjects

  2. Pingback: REST services and MDriven Turnkey | CapableObjects

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.