minvws / nl-kat-coordination

Repo nl-kat-coordination for minvws
European Union Public License 1.2
121 stars 54 forks source link

Add to-do list to kat #1665

Open noamblitz opened 10 months ago

noamblitz commented 10 months ago

Intro

We want a place to gather to-do's for users of OpenKAT. For now, to-do's only consist of answerable Question OOIs. Therefore I propose to do the following.

Step 1

Build a page with OOIs that are filtered on unanswered Question OOIs. To do that, I propose to add an attribute to Questions that keeps track of whether Questions are answered. In that way, when Questions are answered, they are removed from the to-do list. The location of the button to go to this page has to be decided.

Step 2

Build a notification system in KAT. Designs have to be made, but with this feature, users are actually notified when there are Questions to be answered. Also, notifications like "You need to accept your clearance level" can be added there.

underdarknl commented 10 months ago

Agree, I think the first 'design' would be to add the 10 newest open questions on the crisis-room / dashboard, and add a link to all open questions in the top navigation. The notificaton system can be more or less general, based on BIT like triggers, which il do a writeup of.

noamblitz commented 10 months ago

As discussed in standup, we need ways of knowing when a Question is answered. Some solutions:

  1. Add a boolean field to the Question OOI. This will work correctly, but you lose some context -> what was the answer?
  2. Add the resulting config as an attribute to the Question. This resolves the context problem but loses flexibility in the Question OOI -> it is then expected that all Questions result in a Config.
underdarknl commented 10 months ago

We also need to make sure we can Target specific questions for specific User Roles Eg, this question is to be answered by someone with the CISO role.

underdarknl commented 10 months ago

@noamblitz could we add an option 'answer' relation on the quesionOOI, which we populate with whatever OOI_ID (or Id's) was created after the answer was collected and parsed?

noamblitz commented 10 months ago

Yes, we could! Just like finding has an "ooi" attribute