privacyidea icon indicating copy to clipboard operation
privacyidea copied to clipboard

Central notification system for privacyIDEA news

Open cornelinux opened this issue 6 years ago • 4 comments

When a new update comes, this update also contains a "READ_BEFORE_UPDATE" file. However, the admin running privacyIDEA with Ubuntu or CentOS packages will not be easily able to read this file, since he does not visit github on a regular basis.

So the interesting thing would be, to send him additional information: about the upcoming update. This is somehow related to #614

But in this case there could be a central place (github repository, privacyidea download page), that a privacyIDEA system could regularily fetch.

There could be news with different attributes:

  • ID
  • PI version greater than
  • PI version smaller than
  • PI version list (only these specific PI versions show this information)
  • Scope (like updateinfo, news, invitation)
  • Severity (like Warning, Info)
  • text
    • in english
    • in german
    • in whatever
  • audience (admin, user)

This would be fetched by privacyIDEA and then be presented to the admin in the webui.

THis way we could inform the admin: "Hey, there will be an update to version 3.0 shortly. It is important to run a DB backup before updating!" or "Hey, you are running privacyIDEA < 2.23.2. Please update to at least version 2.23.2."

The text could be HTML so that we could add links to further information.

A github repo could be used to have the master branch be the actual branch and notifications could be prepared in pull requests.

cornelinux avatar Dec 21 '18 05:12 cornelinux

This is just some kind of RSS reader. We could add news fetching modules and be able to subscribe to different channels like.

Modules could be:

  • RSS feeds
  • twitter feeds
  • read yaml files from URL (like a github repo)
  • ...

Admin can subscribe to multiple channels - the default channel would be our update channel.

cornelinux avatar Dec 29 '18 00:12 cornelinux

I am adding a concept page in the wiki.

cornelinux avatar Dec 29 '18 09:12 cornelinux

How about a channel for internal (instance) news from admin to user/helpdesk (i.e. "policy xy has changed...")

plettich avatar Jan 02 '19 16:01 plettich

This could be nicely implemented if we had a dashboard, so this issue depends on #951

fredreichbier avatar Sep 04 '19 12:09 fredreichbier