The CreatorCon Call for Content is officially open! Get started here.

How to set access control for portal pages and service portal widgets

Ro5
Tera Expert

Hello.
Add a field called "employee type" to the user table,
I want that value to control which particular portal page or widget is invisible to that user.
Is it possible?

 

Regards,
Ro

1 REPLY 1

SatyakiBose
Mega Sage

Hello @Ro5 

Unfortunately, portal pages visibility and access are not controlled by ACLs.

Infact they are controlled by roles.

  • When you navigate to a portal page in the sp_page table, you would find a field called - Roles.

SatyakiBose_0-1676894065079.png

Here you can explicitly add, which roles can access the portal page.

So for a portal how the access works is:

 

SatyakiBose_1-1676895349831.png

 

You can also check out the below community links where you might want to take a different approach of page redirection. So for a specific role, if you dont wat the user to access a particular portal you setup a redirection as well.

  1. 6 ways to set up your Service Portal for redirection SUCCESS!
  2. How to configure redirection for Service Portal
  3. Redirect users to portal if they have no role and/or a specific role
  4. Need help on Redirecting to another page in Service portal
  5. Redirect user to different service portal based on role or email id domain
  6. Redirect to custom page in service portal