Permissions to view dashboard on a portal page for portal-only users

HP8
Giga Guru

I've exposed a dashboard onto a portal page however I'm having trouble with permissions. The dashboard is on pa_dashboard table and I've given access to the sn_customerservice.customer role on the report_view ACL on the pa_dashboard table.

 

I tried doing a debug while impersonating a portal-only user and it has come with the below. What am I missing?

 

HP8_0-1701997849191.png

 

5 REPLIES 5

AnveshKumar M
Tera Sage
Tera Sage

Hi @HP8 

 

You need to create a read ACL  for $pa_dashboard UI Page for that user role. Like the one below and add the role sn_customerservice.customer and try.

 

Screenshot_2023-12-08-07-52-30-004-edit_com.android.chrome.jpg

 

Please mark my answer helpful and accept as a solution if it helped 👍

 

Thanks,
Anvesh

Hi there. I copied the same conditions as per your screenshot, but still having the same issue. The error message when a portal user views the portal page with the embedded dashboard is "Security constraints prevent access to requested page"

Sorry, it did work! However, it is now showing this:

I have the same role added to the dashboard permissions

HP8_0-1702002878771.png

 

Here are some more logs after creating the new ACL you suggested

15:35:55.160 TIME = 0:00:00.000 PATH = ui_page/$pa_dashboard/read CONTEXT = sys_user.sys_id=null RC = true RULE =
not evaluated access granted access granted access granted ui_page/$pa_dashboard/read App: Global
access denied
15:35:55.165 TIME = 0:00:00.000 PATH = record/pa_dashboards_group/create CONTEXT = pa_dashboards_group.sys_id=null RC = false RULE =
not evaluated access denied not evaluated not evaluated record/pa_dashboards_group/create App: Global
access denied
15:35:55.165 TIME = 0:00:00.000 PATH = record/pa_dashboards_group/write CONTEXT = pa_dashboards_group.sys_id=null RC = false RULE =
not evaluated access denied not evaluated not evaluated record/pa_dashboards_group/write App: Global
access denied
15:35:55.165 TIME = 0:00:00.000 PATH = record/pa_dashboards_group/delete CONTEXT = pa_dashboards_group.sys_id=null RC = false RULE =
not evaluated access denied not evaluated not evaluated record/pa_dashboards_group/delete App: Global
access denied
15:35:55.166 TIME = 0:00:00.000 PATH = record/pa_dashboards/create CONTEXT = pa_dashboards.sys_id=null RC = false RULE =
not evaluated access denied not evaluated not evaluated record/pa_dashboards/create App: Global
not evaluated access denied not evaluated not evaluated record/pa_dashboards/create App: Global
access denied
15:35:55.166 TIME = 0:00:00.000 PATH = record/pa_tabs/create CONTEXT = pa_tabs.sys_id=null RC = false RULE =
not evaluated access denied not evaluated not evaluated record/pa_tabs/create App: Global
not evaluated access denied not evaluated not evaluated record/pa_tabs/create App: Global
access denied
15:35:55.167 TIME = 0:00:00.000 PATH = record/pa_tabs/write CONTEXT = pa_tabs.sys_id=null RC = false RULE =
not evaluated access denied not evaluated not evaluated record/pa_tabs/write App: Global
not evaluated access denied not evaluated not evaluated record/pa_tabs/write App: Global
access denied
15:35:55.167 TIME = 0:00:00.000 PATH = record/pa_tabs/delete CONTEXT = pa_tabs.sys_id=null RC = false RULE =
not evaluated access denied not evaluated not evaluated record/pa_tabs/delete App: Global
not evaluated access denied not evaluated not evaluated record/pa_tabs/delete App: Global
access denied
15:35:55.167 TIME = 0:00:00.000 PATH = record/pa_m2m_dashboard_tabs/create CONTEXT = pa_m2m_dashboard_tabs.sys_id=null RC = false RULE =
not evaluated access denied not evaluated not evaluated record/pa_m2m_dashboard_tabs/create App: Global
not evaluated access denied not evaluated not evaluated record/pa_m2m_dashboard_tabs/create App: Global
access denied
15:35:55.168 TIME = 0:00:00.000 PATH = record/pa_m2m_dashboard_tabs/delete CONTEXT = pa_m2m_dashboard_tabs.sys_id=null RC = false RULE =
not evaluated access denied not evaluated not evaluated record/pa_m2m_dashboard_tabs/delete App: Global
not evaluated access denied not evaluated not evaluated record/pa_m2m_dashboard_tabs/delete App: Global
access denied
15:35:55.170 TIME = 0:00:00.000 PATH = record/pa_dashboards_group/read CONTEXT = CMDB Dashboard App: Global RC = false RULE =
not evaluated access denied not evaluated not evaluated record/pa_dashboards_group/read App: Global
not evaluated access denied not evaluated not evaluated record/pa_dashboards_group/read App: Global
access denied
15:35:55.170 TIME = 0:00:00.000 PATH = record/pa_dashboards_group/read CONTEXT = Data Classification App: Global RC = false RULE =
not evaluated access denied not evaluated not evaluated record/pa_dashboards_group/read App: Global
not evaluated access denied not evaluated not evaluated record/pa_dashboards_group/read App: Global
access denied
15:35:55.170 TIME = 0:00:00.000 PATH = record/pa_dashboards_group/read CONTEXT = Flow Designer App: Global RC = false RULE =
not evaluated access denied not evaluated not evaluated record/pa_dashboards_group/read App: Global
not evaluated access denied not evaluated not evaluated record/pa_dashboards_group/read App: Global