Skip to content

Latest commit

 

History

History
84 lines (44 loc) · 4.29 KB

README.md

File metadata and controls

84 lines (44 loc) · 4.29 KB

Configuration

The default config file is located at admin-gui/src/assets/config/defaultConfig.json.

To configure an instance please create or modify the instance config file at admin-gui/src/assets/config/instanceConfig.json.

Configuration Properties

Properties common for the configuration of all applications are specified in configuration.md

Items marked with (*) are required.
Items marked with (#) are likely relevant.

  • (*)config: name of the instance, used when submitting a bug report.

  • (*)password_namespace_attributes: an array of urns of login-namespace attributes, specifies namespaces where the password can be changed through Perun

  • (#)supported_languages: array of languages that are supported (for setting application form, sending emails, setting of notification, ...), default is only en, currently supported values: en, cs. If you want to add some new language the GUI team needs to be warned.

  • (#)password_help: map namespace: text (allows also use of HTML), has to contain at least default as a namespace, serves as a hint about what criteria the password have to meet

  • (#)login_namespace_attributes: array of URNs of login-namespace attributes shown in user tables. Default URNs for namespaces: einfra, einfra-services, cesnet, mu.

  • (#)log_out_enabled: if log out is enabled, this allows users to use the logout button, default: true

  • (#)other_apps: on a first level maps a language (en, cs, …) to another property. This property defines the labels that are shown in the "more applications" menu as map other_app: label, where other_app is one of admin, profile, pwdReset, consolidator, linker (as defined in AppType) and the label is the label to be displayed in the menu

  • auto_service_access_redirect: automatically redirects users to /service-access to log in, use only when we don’t want users to use OIDC

  • enforce_consents: boolean indicating if global consent enforcement is enabled. Default: false.

  • user_deletion_forced: boolean, enables user deletion if true. Otherwise, default anonymization is used.

  • allow_empty_sponsor_namespace: type: boolean, if the instance supports empty sponsor namespace

  • member_profile_attributes_friendly_names: array of attribute friendly names which are displayed in "Personal info" in the member-overview page

  • brandings: map of specific domain configs, this allows setting multiple brandings+configs on a single instance (e.g. for running on different domains), (key=hostname, value=object of config properties)

    • <example_domain>: this property can contain any config properties (even whole new instanceConfig) for each branding
  • group_name_error_message: type string, a custom error message which is shown when the group name doesn’t match any criteria during a creating new group

  • group_name_secondary_regex: type string, custom regex for group name when creating new group (furthermore the name cannot start/end with the whitespace - this can't be overwritten)

  • bulk_bug_report_max_items: type number, maximum number of exceptions to be displayed verbosely in the bulk bug report mail

  • header_label_<language_shortcut>: string, name of the application

  • export_limit: type number, maximum number of entities to be exportable in tables

    • default: 1000

Styling

  • (#)logo: SVG image shown on the top left corner of the website.

  • (#)theme: Color settings for the admin GUI:

    • sidemenu_text_color: text color in sidemenu

    • sidemenu_bg_color: color of sidemenu

    • sidemenu_hover_color: color of highlight when hovering over sidemenu row

    • sidemenu_active_color: color of currently active tab in sidemenu

    • sidemenu_active_text_color: text color of currently active tab in sidemenu

    • sidemenu_hover_text_color: text color of hovered tab in sidemenu

    • sidemenu_submenu_text_color: text color of submenu in sidemenu

    • sidemenu_submenu_bg_color: background color of submenu in sidemenu

    • sidemenu_submenu_active_color: color of item in submenu when active

    • sidemenu_submenu_hover_color: color of item in submenu when hovered

    • sidemenu_submenu_active_text_color: color of text in submenu on active item

    • sidemenu_submenu_hover_text_color: color of text in submenu on hovered item

    • ...