drfaustusfade / ngm-reportDesk

The workdesk for ReportHub
0 stars 1 forks source link

Multi Cluster Support with clusters attribute #3

Open drfaustusfade opened 3 years ago

drfaustusfade commented 3 years ago

Projects reporting is multicluster when users report in one project multiple activities but user and project attributes do not have that support proposal to add clusters attribute to project, report, location and user in that way, we will be able to have better analytics on multicluster projects [{cluster_id: "health", cluster: "Health"},...]

notes project and report The title (or subtitle) should be also based on that attribute like Health, Protection for historical data without attribute just cluster attribute cluster attribute still there as the main cluster

user that will require also update in permissions processing admins for multiple clusters should have according filter and permissions note cluster attribute still there as the main cluster profile with multiple select

fakhrihawari commented 3 years ago
Screen Shot 2020-12-17 at 13 16 26

The cluster list in project detail is from user clusters attribute or from ngmClusterLists? and the cluster attribute in report just follow the project right?

drfaustusfade commented 3 years ago

from ngmClusterLists cluster attribute on project propagates to report

fakhrihawari commented 3 years ago

For "user that will require also update in permissions processing admins for multiple clusters should have according filter and permissions" Can you give me more detail?

drfaustusfade commented 3 years ago

right now user permissions are checked on cluster string attribute, with users being multicluster will require additional checks for admin dashboard, if cluster admin is multicluster, cluster filter should have corresponding options (also right now there is no multicluster API to get indicators for multiple clusters)

fakhrihawari commented 3 years ago

first mockup: https://github.com/fakhrihawari/ngm-reportHub/tree/multi_cluster_attribute https://github.com/fakhrihawari/ngm-reportEngine/tree/clusters-att

is it like that?

drfaustusfade commented 3 years ago

to review