SystemManagement

Content Type: Module
Categories: Authentication

Overview

This module enables you to maintain all entities of core-module System, which exists in every app.

This includes:

  • Creation and maintenance of user accounts;
  • Viewing the roles and (re-)setting passwords;
  • A ‘persona’ per projectrole;
  • Quering your data using OQL and store the oql’s you created;
  • Adding a information message for your logged in users;
  • Checking who is logged in;
  • Switching to demo-useraccounts available per userrole;
  • A graph showing the number of objects per entity;
  • Database management for entities, doing a count, show history and cleanup;
  • Daily cleanup of anonymous users;
  • In-activate users not having logged in for 60 days;
  • Monitor for ‘Suspected dead code’;

PS. The “ForgotPasswordReset”  is now a separate module.

Documentation

Demo urlhttps://baseapplication-sandbox.mxapps.io/p/systemmanagement

Description

This module enables you to maintain all entities of the Mendix module ‘System’, which exists in every app.

This includes creation and maintenance of user accounts, their roles and (re-)setting passwords.

Typical usage scenario

  • You need a tool for user account management;
  • You like to have environment specific label and styling, environment information and a isProduction-check;
  • You want to be able to show a system message to the users in your application;
  • You want to have more insight and control over your scheduled events;
  • You want to add user account info in the menubar and a popup with detailed information + sign-out button
  • You want to, during development and testing, switch roles between demo user accounts;
  • You want to set up ‘personas’ for your app’s userroles;
  • You want to query your database using OQL;
  • You want to monitor table-growth for entities you specify and see this in informative graphs;
  • You want to replacing module Administration with a better performant, more complete, easier to understand user account management having less tech debt.

Also this module will remove any Anonymous-user older than a day.

See ‘Snip_ReadMe_SystemManagement’ for a complete description.

Dependencies

- CommunityCommons, which you want/should-have anyway;

- Atlas_Core, for some layouts;

- Module OQL for the Object-count and datagathering for some graphs and OQL is fun to have anyway.

Installation

The quick&easy installation:

- Install this module

- Add Snip_SystemManagement_Overview to a page of your choice

- Add the module roles Administrator, User and Anonymous to your project roles.

That’s all you need to do. If you want more fine-tuning:

1) Pick and choose the snippets in folder "_Use me" and place them on pages of your choice. Each snippet enables your to view and or maintain one or several of the system-modules entities.

2) Replace the systemManagement Popup-layout by your own, to give this modules popup-pages your app’s look and feel and to have one less popup-layout to worry about:

  * Drag and drop PopupLayoutSysMan to Atlas_UI_Resources

  * Delete PopupLayoutSysMan

  * Rename your project's standard layout to PopupLayoutSysMan and rename your layout back to its original value.

  NB. if you later reinstall SystemManagement module, you will have to perform this step again.

Configuration

Modify your page-template (Atlas_Top for instance). First add a column to the right and add these two snippets

- SystemManagement.Snip_Login_AtlasTopBarAddon

- SystemManagement.Snip_ShowActiveSMIndicator

Then under the menu bar add SystemManagement.Snip_ShowActiveSM

Releases

Version: 9.8.0
Framework Version: 9.12.10
Release Notes: - Upgraded from 1.8.0 Mx8.12.7
Version: 3.13.0
Framework Version: 9.18.5
Release Notes: - For ScheduleEventInformation: Added retentionperiod setting and a daily deletion job - Improved security in access rules - upgraded snippetjs to resolve a vulnerability
Version: 3.12.0
Framework Version: 9.12.10
Release Notes: Set the default value for EnvironmentLetter to D, instead of P
Version: 3.10.0
Framework Version: 9.12.10
Release Notes: - Upgraded to 9.12.10 - Remove unique index from PersonalSetting - Slight improvement in the after-startup routine
Version: 3.9.0
Framework Version: 9.12.6
Release Notes: Added a monitor for 'Suspected dead code'; Improved code quality even more;