How-to: UDM portals/entry - add new group

How to:

If a direct definition for certain tiles and their usability and visibility via groups is to be defined, this can be carried out via the UDM or also via the GUI in the UMC as follows.

Step 1: Search for portals/entry

You can search the available entry’s via UDM with:

udm portals/entry list

Example:
udm portals/entry list | grep promtheus

DN: cn=prometheus,cn=entry,cn=portals,cn=univention,dc=ucs5schoolhejne,dc=intranet
  activated: TRUE
  allowedGroups: cn=Domain Admins
  anonymous: FALSE
  backgroundColor: None
  description: en_US: Prometheus based database backend for the UCS Dashboard
  description: de_DE: Prometheus basierte Datenbank für das UCS Dashboard
  displayName: en_US: UCS Dashboard Database (prometheus)
  displayName: de_DE: UCS Dashboard Database (prometheus)
  icon: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTE9HTyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAxNDQuOCAxNDQuNCI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiA
gICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogIzNhYmJmZjsKICAgICAgICBzdHJva2Utd2lkdGg6IDBweDsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPHBhdGggaWQ9IkJJTERNQVJLRSIgY2xhc3M9ImNscy0xIiBkPSJNMTE3LjYsNDcuOGMxMC4yLTUuNCwxMC
4xLTIwLS4yLTI1LjJMNzMsMCwyOC43LDIyLjZjLTEwLjIsNS4yLTEwLjQsMTkuOC0uMiwyNS4ybDM3LjgsMjAuMWMyLjEsMS4xLDQuNCwxLjcsNi43LDEuN3M0LjYtLjYsNi42LTEuNmwzOC0yMC4xaDBaTTczLDU4Yy0uNCwwLS45LS4xLTEuMy0uM2wtMzcuOC0yMC4xYy0xLjItL
jYtMS40LTEuNy0xLjQtMi40cy4zLTEuOCwxLjUtMi40bDM5LTE5LjksMzkuMiwxOS45YzEuMi42LDEuNSwxLjYsMS41LDIuNHMtLjIsMS44LTEuNCwyLjRsLTM4LDIwLjFjLS40LjItLjguMy0xLjMuM2gwWk0xNDQuNiw2NS4yYzAtOC4yLTYuOC0xNC4yLTE0LjItMTQuMnMtNC40
LjUtNi42LDEuN2wtMzkuNCwyMC43Yy00LjcsMi41LTcuNiw3LjMtNy42LDEyLjZ2NDRjMCw4LjMsNi44LDE0LjIsMTQuMiwxNC4yczQuNi0uNiw2LjgtMS44bDQ3LTI1LjctLjItNTEuNmgwWk05Mi4yLDEzMi4xYy0uNC4yLS44LjMtMS4xLjMtLjgsMC0yLjQtLjYtMi40LTIuNHY
tNDRjMC0uOS41LTEuNywxLjMtMi4xbDM5LjQtMjAuN2MuNC0uMi43LS4zLDEuMS0uMywxLDAsMi40LjgsMi40LDIuNGwuMiw0NC41LTQwLjgsMjIuM2gwWk02OC4zLDg3LjN2NDMuNWMwLDQuOC0yLjUsOS4yLTYuNiwxMS42LTIuMSwxLjMtNC41LDEuOS02LjksMS45cy00LjQtLj
YtNi41LTEuN0wwLDExNi40di0xNS43Yy4xLTMuMiwyLjgtNS45LDYtNS45aDBjMy4zLDAsNS45LDIuNyw1LjksNS45djguNmMwLDAsNDIsMjIuOSw0MiwyMi45LjguNCwxLjQuMiwxLjcsMCwuMy0uMi44LS42LjgtMS41di00My41YzAtMi4yLTEuMi00LjItMy4yLTUuMmwtMzIuN
y0xNy4yLTYuNS0zLjVjLS42LS4zLTEuMS0uMS0xLjUsMC0uMy4yLS43LjYtLjcsMS4zdjEwLjJjMCwzLjMtMi42LDUuOS01LjksNS45UzAsNzYuMywwLDczLjF2LTEwLjJjMC00LjcsMi40LTguOSw2LjQtMTEuNCw0LTIuNCw4LjktMi42LDEzLS41aDBzNi42LDMuNiw2LjYsMy42
bDMyLjYsMTcuMWM1LjgsMy4xLDkuNSw5LjEsOS41LDE1LjdoMFoiLz4KPC9zdmc+
  link: en_US: https://dc0.ucs5schoolhejne.intranet/metrics-prometheus/
  link: en_US: http://10.200.30.20/metrics-prometheus/
  link: en_US: http://dc0.ucs5schoolhejne.intranet/metrics-prometheus/
  link: en_US: https://10.200.30.20/metrics-prometheus/
  linkTarget: newwindow
  name: prometheus
  target: None

The permitted group here is the group cn=Domain Admins.

The setting can be found in the UMC under Domain/Portal/Promtheus/Advanced.

Screenshot from 2025-01-03 15-04-21

Screenshot from 2025-01-03 15-05-05

Step 2: Add a new group to this entry

You can append a further group like cn=Administrator via UDM with:

udm portals/entry modify --dn cn=prometheus,cn=entry,cn=portals,cn=univention,dc=ucs5schoolhejne,dc=intranet --append allowedGroups="cn=Administrator"

Object modified: cn=prometheus,cn=entry,cn=portals,cn=univention,dc=ucs5schoolhejne,dc=intranet

or in the UMC

Screenshot from 2025-01-03 15-11-18

The new output in UDM will look like:

root@dc0:~/univention-support# udm portals/entry list --filter cn=prometheus
cn=prometheus
DN: cn=prometheus,cn=entry,cn=portals,cn=univention,dc=ucs5schoolhejne,dc=intranet
  activated: TRUE
  allowedGroups: cn=Domain Admins
  allowedGroups: cn=Administrator
  anonymous: FALSE
  backgroundColor: None
  description: en_US: Prometheus based database backend for the UCS Dashboard
  description: de_DE: Prometheus basierte Datenbank für das UCS Dashboard
  displayName: en_US: UCS Dashboard Database (prometheus)
  displayName: de_DE: UCS Dashboard Database (prometheus)
  icon: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iTE9HTyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2ZXJzaW9uPSIxLjEiIHZpZXdCb3g9IjAgMCAxNDQuOCAxNDQuNCI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogIzNhYmJmZjsKICAgICAgICBzdHJva2Utd2lkdGg6IDBweDsKICAgICAgfQogICAgPC9zdHlsZT4KICA8L2RlZnM+CiAgPHBhdGggaWQ9IkJJTERNQVJLRSIgY2x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ItMy4yLTUuMmwtMzIuNy0xNy4yLTYuNS0zLjVjLS42LS4zLTEuMS0uMS0xLjUsMC0uMy4yLS43LjYtLjcsMS4zdjEwLjJjMCwzLjMtMi42LDUuOS01LjksNS45UzAsNzYuMywwLDczLjF2LTEwLjJjMC00LjcsMi40LTguOSw2LjQtMTEuNCw0LTIuNCw4LjktMi42LDEzLS41aDBzNi42LDMuNiw2LjYsMy42bDMyLjYsMTcuMWM1LjgsMy4xLDkuNSw5LjEsOS41LDE1LjdoMFoiLz4KPC9zdmc+
  link: en_US: https://dc0.ucs5schoolhejne.intranet/metrics-prometheus/
  link: en_US: http://10.200.30.20/metrics-prometheus/
  link: en_US: http://dc0.ucs5schoolhejne.intranet/metrics-prometheus/
  link: en_US: https://10.200.30.20/metrics-prometheus/
  linkTarget: newwindow
  name: prometheus
  target: None

and in the UMC

Screenshot from 2025-01-03 15-11-22

1 Like
Mastodon