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: 3.15.0
Framework Version: 10.12.2
Release Notes: - Upgraded to 10.12.2 - React-client ready, apart from some AnyChart-graphs and javascript-snippet-widgets
Version: 3.14.0
Framework Version: 10.6.3
Release Notes: Version 3.14.0 (not yet published) - Upgraded to 10.6.3 - Released the function RemoveOldestxObjects
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;
Version: 3.8.0
Framework Version: 9.12.6
Release Notes: - Added to OQLmodule: ExportToJson, some examples and the playground; - Some improvements on Dutch texts; - Improved management page for FileDocuments; - Separated ForgotPasswordReset to be a marketplace-module by itself;
Version: 3.7.1
Framework Version: 9.12.1
Release Notes: - Added an option to limit the number of objects per entity - Removed a strange unnecessary dependency to module Person
Version: 3.6.0
Framework Version: 9.12.0
Release Notes: - Upgraded to 9.12 - Using DataGrid2 again - Bugfix in FileDocument overview
Version: 3.5.0
Framework Version: 9.6.8
Release Notes: - Made ForgotPassword no longer depending on module emailservice. - Added routine for set user not having logged in xdays to inactive - Replaced DataGrid2's by DataGrid's because of an Atlas bug, solved in 9.12