microsoft / powerbi-data-access-auditing

MIT License
21 stars 10 forks source link

Add Report Level Security Model #9

Open jrampono opened 3 years ago

jrampono commented 3 years ago

The application needs to be upgraded to support a security model with the following features:

Current "Report" model in appsettings.json:

"Reports": [{
                "UniqueId": 1,
                "DisplayLevel": 1,
                "DisplayName": "Offenders Report",
                "WorkspaceId": "{SampleWorkSpaceId}",
                "Description": "This is the offender report",
                "ReportId": "{SampleReportId1}",
                "DrillThroughReports": [2],
                "RequiredParameters": [],
                "PaginationTable": "",
                "PaginationColumn": ""
            },
            {
                "UniqueId": 2,
                "DisplayLevel": 2,
                "DisplayName": "Offender PII Report",
                "WorkspaceId": "{SampleWorkSpaceId}",
                "ReportId": "{SampleReportId2}",
                "Description": "This is the offender PII report",
                "DrillThroughReports": [],
                "RequiredParameters": ["OffenderId"]
            },
            {
                "UniqueId": 3,
                "DisplayLevel": 1,
                "DisplayName": "Offenders Report 2",
                "WorkspaceId": "{SampleWorkSpaceId}",
                "Description": "This is the offender report",
                "ReportId": "{SampleReportId1}",
                "DrillThroughReports": [2],
                "PaginationTable": "",
                "PaginationColumn": ""
            },
            {
                "UniqueId": 3,
                "DisplayLevel": 1,
                "DisplayName": "Offenders Report 3",
                "WorkspaceId": "{SampleWorkSpaceId}",
                "Description": "This is the offender report",
                "ReportId": "{SampleReportId1}",
                "DrillThroughReports": [2],
                "PaginationTable": "",
                "PaginationColumn": ""
            }
        ]