Tables


SchemaSpy Analysis of mscmp_syst_mcp_perms.ms_syst_data

Generated on Fri Jan 19 05:39 PST 2024

XML Representation
Insertion Order Deletion Order
TABLES 27
VIEWS 0
COLUMNS 365
Constraints 36
Anomalies 1
Routines 15

Database Properties

Database Type: PostgreSQL - 16.1 (Ubuntu 16.1-1.pgdg22.04+1)

Catalog mscmp_syst_mcp_perms

Copyright © Lima Buttgereit Holdings LLC d/b/a Muse Systems

This database software and documentation is licensed to you under the terms of the Muse Systems Business Management System License Agreement v1.1 or other written, superseding license that you have obtained from Muse Systems.

Only Muse Systems may license this software to you. Your continued use of this software indicates your agreement to abide by the applicable license terms.

This database may include content copyrighted by and licensed from third parties.

Please see the license or contact us for more information.

muse.information@musesystems.com :: https://muse.systems

Schema ms_syst_data

Internal system management data for use by Muse Systems developers.

All member objects of this schema are considered “private”.

Direct usage of this schema or its member objects is not supported. Please consider using features from ms_syst Public API schema or other Public APIs as appropriate.

Tables

Table / View Children Parents Columns Type Comments
syst_access_accounts 5 2 13 Table

Contains the known login accounts which are used solely for the purpose of authentication of users. Authorization is handled on a per-Instance basis within the application.

syst_enum_items 7 2 22 Table

The list of values provided by an Enumeration as well as related behavioral and informational metadata.

syst_perm_functional_types 2 0 12 Table

Defines application specific areas of applicability to which Permissions and Permission Roles are assigned.

When an application defines varying areas of business controls, Permission Functional Types can be used to group Permissions into their specific areas and limit usage and role assignment by area. Consider an application which supports multiple warehouses containing inventory. The application may define globally applicable Permissions such as the ability to log into the application, but may allow employees to be granted varying degrees of Permission to each individual warehouse’s inventory management features. In this case there would be “Global” Permission Functional Type containing the log in Permission and a “Warehouse” Permission Functional Type for those Permissions and Permission Roles which can vary warehouse by warehouse.

General Usage

Both Permissions and Permission Roles must share a Permission Functional Type since the Permission Functional Type establishes the context of applicability for both.

syst_instance_contexts 0 2 14 Table

Instance specific settings which determine how each Instance connects to the defined Application Contexts.

syst_owner_password_rules 0 1 19 Table

Defines the password credential complexity standard for a given Owner. While Owners may define stricter standards than the global password credential complexity standard, looser standards than the global will not have any effect and the global standard will be used instead.

syst_instances 4 5 18 Table

Defines known application instances and provides their configuration settings.

syst_instance_network_rules 0 1 14 Table

Defines firewall-like rules, scoped to specific instances, indicating which IP addresses are allowed to attempt authentication and which are not. These rules are applied in their defined order after all global_network_rules and owner_network_rules.

syst_enums 2 0 16 Table

Enumerates the enumerations known to the system along with additional metadata useful in applying them appropriately.

syst_identities 2 3 16 Table

The identities with which access accounts are identified to the system. The most common example of an identity would be a user name such as an email address.

syst_disallowed_passwords 0 0 1 Table

A list of hashed passwords which are disallowed for use in the system when the password rule to disallow common/known compromised passwords is enabled. Currently the expectation is that common passwords will be stored as sha1 hashes.

syst_credentials 0 3 14 Table

Hosts the Credentials by which a user or external system will prove its Identity.

General Usage

Note that not all Credential types are available for authentication with all Identity types.

syst_applications 3 0 11 Table

Describes the known applications which is managed by the global database and authentication infrastructure.

syst_enum_functional_types 1 1 14 Table

For those Enumerations requiring Functional Type designation, this table defines the available types and persists related metadata. Note that not all Enumerations require Functional Types.

syst_perms 1 1 18 Table

Defines the available system and application permissions which can be assigned to users.

The Permission is divided into the following concepts:

  1. The Permission record itself defines a subject for which application security and control concerns exist.

  2. Each Permission is made up of standard Rights. These Rights are:

    • View - the ability to view data.

    • Maintenance - the ability to change or process existing data.

    • Administration - the ability to create or destroy data.

    • Operations - the ability to perform certain operations or processes.

  3. The Right for each Permission is assigned a Scope of applicability which can limit or extend the grant of a Right. Each Right of the Permission may define which Scopes it supports out of the following possibilities:

    • Unused - The Right does not exist in any meaningful way for the Permission.

    • Deny - The Right is not granted by the Permission grant; this is typically used in cases where other Rights may be granted, for example permitting a user to see a value (View Right), but not to Maintain or perform data Admin tasks (Maint & Admin Rights).

    • Same User - The Right grant is limited in Scope to those records which are in some way designated as belonging to the specific user exercising the Right. Ownership designation will be defined by those functions where a Permission is checked.

    • Same Group - The Right grant is limited in Scope to those records which are in some way designated as belonging to a specific group or groups and to which the user belongs in some way. Ownership designation will be defined by those functions where a Permission is checked.

    • All - The Right grant is not limited in Scope and all records which are subject to the Permission are available to the user.

Permissions are assigned to Permission Roles which are in turn granted to individual users. If a Permission is not assigned to a Permission Role, then the assumption is that the Permission Role’s users are denied all rights granted by the unassigned Permission.

Some Permissions may be dependent on the grants of other more fundamental Permissions. For example, a user may be granted only View Rights to the sales order form, but also granted Maintenance Rights to sales pricing data. In such a case the sales order Rights would dictate that the user does not have the ability to maintain sales pricing in the sales order context.

Specific details of applicability and the determination of Scope boundaries will vary by each specific scenario. Consult individual Permission documentation for specific understanding of how determinations of access are made.

syst_disallowed_hosts 0 0 9 Table

A simple listing of “banned” IP address which are not allowed to authenticate their users to the system. This registry differs from the syst_*_network_rules tables in that IP addresses here are registered as the result of automatic system heuristics whereas the network rules are direct expressions of system administrator intent. The timing between these two mechanisms is also different in that records in this table are evaluated prior to an authentication attempt and most network rules are processed in the authentication attempt sequence.

syst_instance_type_contexts 0 2 11 Table

Establishes Instance Type defaults for each of an Application’s defined datastore contexts.

General Usage

In practice, these records are used in the creation of Instance Context records, but do not establish a direct relationship; records in this table simply inform us what Instance Contexts should exist and give us default values to use in their creation.

syst_access_account_instance_assocs 0 2 14 Table

Associates access accounts with the instances for which they are allowed to authenticate to. Note that being able to authenticate to an instance is not the same as having authorized rights within the instance; authorization is handled by the instance directly.

syst_perm_role_grants 0 2 14 Table

Establishes the individual permissions which are granted by the given permission role.

General Usage

Note that the absence of an explicit permission grant to a role is an implicit denial of that permission.

syst_perm_roles 2 1 14 Table

Defines collections of permissions which are then assignable to users.

syst_access_account_perm_role_assigns 0 2 10 Table

Assigns Permission Roles to Access Accounts providing an MCP authentication mechanism.

syst_owner_network_rules 0 1 14 Table

Defines firewall-like rules, scoped to specific owners, indicating which IP addresses are allowed to attempt authentication and which are not. These rules are applied in their defined order after all global_network_rules and before all instance_network_rules.

syst_global_network_rules 0 0 13 Table

Defines firewall-like rules that are global in scope indicating which IP addresses are allowed to attempt authentication and which are not. This also includes the concept of global defaults applied to new Owner IP address rules. These rules are applied in their defined ordering prior to all other rule sets.

syst_global_password_rules 0 0 18 Table

Establishes a minimum standard for password credential complexity globally. Individual Owners may define more restrictive complexity requirements for their own accounts and instances, but may not weaken those defined globally.

syst_owners 4 1 11 Table

Identifies instance owners. Instance owners are typically the clients which have commissioned the use of an application instance.

syst_password_history 0 1 10 Table

Keeps the history of access account prior passwords for enforcing the reuse password rule.

syst_application_contexts 2 1 15 Table

Applications are written with certain security and connection characteristics in mind which correlate to database roles used by the application for establishing connections. This table defines the datastore contexts the application is expecting so that Instance records can be validated against the expectations.

syst_instance_type_applications 1 2 10 Table

A many-to-many relation indicating which Instance Types are usable for each Application.

General Usage

Note that creating ms_syst_data.syst_application_contexts records prior to inserting an Instance Type/Application association into this table is recommended as default Instance Type Context records can be created automatically on INSERT into this table so long as the supporting data is available. After insert here, manipulations of what Contexts Applications require must be handled manually.