Filter groups

This page provides access to CRUD functionalities, allowing administrators to manage filter groups directly through the UI. The dashboard below will display all existing groups.

filter_groups

  • Add new filter group: Redirect to creation form.

  • Edit icon: Redirect to update form.

  • Delete icon: Delete selected group. If confirmed, deletion cannot be undone.

    warning_modal

Add filter group

Add a new filter group. Filters for both “OKA Core” and “OKA Core Stats” can be added together.

add_filter_group

  • Group name: Filter group name.

  • Clusters: Cluster selection field.

  • Description: Filter group description.

  • Users: All users.

  • Groups: Groups. The group’s own parent cannot be added as a child. Also, groups can only be added below each other if they are in common clusters.

  • OKA Core: Data source for OKA Core plugins.

  • OKA Core Stats: Data source for Load Occupancy.

Update filter group

Allows to update all values in the group. All previously entered values are filled in the input fields.

update_filter_group

How it works

Filters will be applied to users based on the different groups they were included in.

Hierarchical relationship between user and groups will create filters using AND conditions. If a user or a group is part of multiple hierarchical relationships, the generated filters will be combined using an OR condition.

  • By default, the filter of the group the user is in will be applied to him.

  • If a user is part of multiple groups, filters will be combined using an OR condition.

  • Groups will generate complex filters using AND condition to go through their parents lineage.

  • Groups will generate complex filters using OR condition to combine each of their parents lineage.

Example 1

filter_group_example_simple

U1 = G2 & G1
U2 = G4 & G2 & G1
U3 = G1

Example 2

filter_group_example_complex

U1 = ((G2 & G1) | (G3 & G1)) | G5
U2 = ((G4 & G2 & G1) | (G3 & G1)) | G5
U3 = G1