Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 81227

Deeplink - require guests to login

$
0
0

I have an application where guest access is not allowed so when a user clicks on a deeplink they should be prompted to log in.

I have allow Anonymous access set to yes for role Guest, which runs the AnonymousLogin_CopyDeepLink Info microflow.

Guest role has access to run AnonymousLogin_CopyDeepLink microflow, Launch_Deeplink microflow and microflow that opens the link in a page. Guest does not have access to the page since login should be required to view the page.

In Deeplink module, Guest has access to entity DeepLink (read) and entity PendingUserLink (read/write).

Navigation is set to run microflow, Nav_GuestHomePage, for Guest.

Nav_GuestHomePage calls DeepLinkHome. If no links, shows login page, but if links (which in this case there is), continues and tries to open the page. I then get permission errors shown in browser console which appears to be because Guest does not have access to view the page.

Can anyone help point me in the right direction so that Guest user is prompted to login to view the deeplink page?

 


Viewing all articles
Browse latest Browse all 81227

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>