EyeSeeTea / dataset-configuration-blessed

Enhanced dataset manager Dhis2 app (blessed repository)
GNU General Public License v3.0
0 stars 1 forks source link

Hide data elements from app selection #101

Closed troyel closed 6 years ago

troyel commented 6 years ago

Hi, Can we have a functionality to mark some data elements / indicators as not possible to assign through the app. Alternatively that it is only possible to add for someone with a particualr right/group.

The reason for this is that we want to have separate data sets for the indicators GL-X1 and GL-X3 (and potentially GL-X2). Because these should never be reported on the same attribute combination as the other indicators/DE. Please suggest some good ways of doing this

adrianq commented 6 years ago

We can just add an attribute (yes/no) for this. Depending on this attribute we will hide/display the DE/Indicator on the app. How does it sound?

troyel commented 6 years ago

Yes - makes sense!

adrianq commented 6 years ago

Great! Are you taking care of this? If so can you send us another dump? It would be great if you can also solve these two https://github.com/EyeSeeTea/dataset-configuration-blessed/issues/91 and https://github.com/EyeSeeTea/dataset-configuration-blessed/issues/81

troyel commented 6 years ago

Does a "Yes only" attribute work? hide in DS app attribute.PNG

adrianq commented 6 years ago

Yes, it does!