Getting the error "Access to this content denied based on report_view field ACLs" even though the report_view ACL's are not active

Amith6
Tera Contributor

Hi,

Our users are facing an issue while accessing the asmt_metric_result table from a dashboard as "Access to this content denied based on report_view field ACLs" even though the report_view ACL's are not active. The report_view ACL's are having assessment_admin role added and if we give that role to users, they are able to access. But we are not supposed to give this role to the users as they will be getting the visibility for all the assessments (including confidential HR module assessments). Expecting your advice here on how to proceed?

Is there any way that we can restrict the access only to IT assessments to Service Desk team members for Metric Results table. They all have survey_creator role and tried creating a report_view ACL, but that too didn't work,

Thanks,

Amith.

4 REPLIES 4

Filipe Cruz
Kilo Sage

Hello Amith,

Maybe you can create a before query Business Rule that displays records for metric results table only for users that belong to the Service Desk team (you can user the method isMemberOf(<sys_id_of_the_group<).

Can this be a solution for you?

Please mark my answer as correct and helpful if it is relevant for you!

Thanks,

Filipe Cruz




 

Hi Filipe,

Thanks for the reply.

But we have other teams as well using the same metric results table. Like HR team for viewing HR related assessment, Reporting for viewing all assessments etc. So I am looking for an option only to display the metric result for IT related to Service Desk team. But even though the report_view ACL's are inactive, the users are still getting the error.

Hello Amith,

Suggestion: can you try to debug the ACLs?
Go to System Diagnostics > Debugging > Debug All Security.
Then, open the metrics table to get that error.
Copy the results and paste here.
Then go to the same menu entry "Debug All Security" to disable the security logging.


Please mark my answer as correct if it solves your issue or mark it as helpful if it is relevant for you!

Best Regards,

Filipe Cruz

Ravi9
ServiceNow Employee
ServiceNow Employee

technically speaking you can create combination of condition and roles right ? like IT users with condition such as metric can be 1 or 2 or 3 , stuff like that ? that way IT users will get only required visibility and you can use a generic role which they have already ?