2. Configuration

Most of DATAGERRY’s configuration is stored in MongoDB. There are a view parameters which cannot be stored at this place (e.g. database connection to MongoDB itself). For this parameters, we provide an INI style configuration file, called cmdb.conf. Please see the following example:

[Database]
host = 127.0.0.1
port = 27017
database_name = cmdb
;username = username
;password = password

[WebServer]
host = 0.0.0.0
port = 4000

[MessageQueueing]
host = 127.0.0.1
port = 5672
username = guest
password = guest
exchange = datagerry.eventbus
connection_attempts = 2
retry_delay = 6
use_tls = False

It is possible to overwrite settings in the configuration file with OS environment variables. Please see the following example:

DATAGERRY_<section_name>_<option_name>
DATAGERRY_Database_port=27018

This feature is especially useful, if you want to run DATAGERRY in Docker.

7. UserModel Management — DATAGERRY bugfix-NET-659_export_selected_objects-9d8fa50e44ebc26b947cc82cd530cd38cf630800 documentation

7. UserModel Management

7.1. Local Users and Groups

Local users and groups can be configured in the WebUI under “Settings” -> “UserModel Management”. A user is part of one group. Access rights are defined for a specific group.

The following groups are defined by default and cannot be deleted:

  • Administrator

  • UserModel

Also, a user cannot delete itself.

7.2. Access Rights

Access Rights can be configured for a usergroup and are designed hierachically. Please see the following example:

# base right for whole application
base.*

# right for core framework
base.framework.*

# right for accessing objects
base.framework.object.*

# right for viewing objects
base.framework.object.view

# right for adding objects
base.framework.object.add

If you add the right “base.framework.object.view” to a usergroup, all users of that group have the right of viewing objects. If the right “base.framework.object.*” is applied, all subsequent rights like “base.framework.object.view” are also applied.

A list of rights can be found in the WebUI of DATAGERRY.

The following rights are necessary to use the frontend:

base.framework.object.view
base.framework.type.view
base.framework.category.view
base.framework.log.view
base.user-management.user.view
base.user-management.group.view
base.docapi.template.view