fix: docs for mpe_config

This commit is contained in:
Allan Bowe 2022-06-27 21:58:22 +00:00
parent f4fe819033
commit 3d211004e3
3 changed files with 40 additions and 2 deletions

View File

@ -1,7 +1,13 @@
---
layout: article
title: DC Options
description: Options in Data Controller are set in the MPE_CONFIG table and apply to all users.
og_title: Data Controller for SAS® Options
og_image: /img/mpe_config.png
---
# Data Controller for SAS® - Options
## Overview
The MPE_CONFIG table provides a number of options, to apply to all users:
The MPE_CONFIG table provides a number of options, which apply to all users:
## DC_EMAIL_ALERTS
Set to YES or NO to enable email alerts. This requires email options to be preconfigured (mail server etc).
@ -14,6 +20,13 @@ By default, a maximum of 100 observations can be edited in the browser at one ti
* Number (and size) of columns
* Speed of client machine (laptop/desktop)
## DC_RESTRICT_EDITRECORD
Setting YES will prevent the EDIT RECORD dialog appearing in the EDIT screen by removing the "Edit Row" option in the right click menu, and the "ADD RECORD" button in the bottom left.
Anything other than YES will mean that the modal _is_ available.
Default=NO
## DC_RESTRICT_VIEWER
Set to YES to restrict the list of libraries and tables in VIEWER to only those explicitly set to VIEW in the MPE_SECURITY table. The default is NO (users can see all tables they already have permission to see).

BIN
docs/img/mpe_config.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

25
docs/tables/mpe_config.md Normal file
View File

@ -0,0 +1,25 @@
---
layout: article
title: MPE_CONFIG
description: The MPE_CONFIG table is used to apply global system options in DC
og_title: MPE_CONFIG Table Documentation
og_image: /img/mpe_config.png
---
# MPE_MPE_CONFIGREVIEW
The MPE_CONFIG table enables global system options. Further detail on each option can be found in the description of the option itself, or on the [options](/dcc-options) page.
![submits](/img/mpe_config.png)
The table is SCD2 controlled for ease of rollback and version management.
## Columns
- 🔑 `TX_FROM num`: SCD2 open datetime
- 🔑 `VAR_SCOPE char(10)`: A short code for grouping sets of options
- 🔑 `VAR_NAME char(32)`: The name of the option
- `VAR_VALUE char(5000)`: The value of the option
- `VAR_ACTIVE num`: Whether the rule should be used (1) or ignored (0). Setting rules to 0 is a convenient way to turn them off without deleting them.
- `VAR_DESC char(300)`: A short description of the option.
- `TX_TO num`: SCD2 close datetime