New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Central notification system for privacyIDEA news #1352

Open
cornelinux opened this Issue Dec 21, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@cornelinux
Copy link
Member

cornelinux commented Dec 21, 2018

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 cornelinux added the idea ! label Dec 21, 2018

@cornelinux cornelinux added this to the 3.0 Code Cleanup milestone Dec 21, 2018

@cornelinux

This comment has been minimized.

Copy link
Member

cornelinux commented Dec 29, 2018

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

This comment has been minimized.

Copy link
Member

cornelinux commented Dec 29, 2018

I am adding a concept page in the wiki.

@plettich

This comment has been minimized.

Copy link
Contributor

plettich commented Jan 2, 2019

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

@cornelinux cornelinux self-assigned this Jan 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment