M
mpiscoso@gmail.com
Guest
As a workaround, you can probably check which object the current portal user belongs to and if you're in Portal A and you detect that the User is only supposed to have access to Portal B then you can do a redirect using window.location.href over to a generic page that states that he/she does not have access to Portal B and then potentially provide a link back to Portal A. I can't provide an example right now but thinking this through your code needs to be in your portal's header/footer so that it runs every page load. I'm not sure if a token for a Portal User's object is available yet. If not, you may simply use a field that you know belongs to Portal User A and not Portal User B to be able to differentiate the two. You have to test what value it returns in both scenarios that the field exists or not and then determine whether you'll be redirecting the user to the permission error page or otherwise. Hope this helps. Piscoso, Martin Feel free to contact me.
Continue reading...
Continue reading...