Skip to main content

Hello,

I have created a GI which I mapped in Portal, now how can I restrict that only Portal customer see their data ? Now it is visible for all. Please advise.

Thank you

Jennifer 

I am also interested in this topic.  We want to start using the Customer Portal in this way. 


Hi @jennifer39 

Refer to the below article. It may help you,

Restrict Data Accessibility using Generic Inquries - Acumatica Developers Blog


Hi Jinin

When you deploy restriction on role it will reflect on all Portal Users, I want to put a condition on GI so that only the login customer will see their data.  Like they see only their Orders in My Orders.

Jennifer

 

 


Hi @jennifer39 ! In this case the restriction group option would be the best choice to restrict the view of data in the GI. This is because there is no option for something like Customer = @me, which is how the other GIs operate based on the relative condition of the user logged in.

In the absence of this option setting a restriction group so users only see customers to which they have access will mean that when the user logs in to view the GI only the customers which have been allowed are visible.

This is not setting access rights, which is role based, restriction groups are user based.

 


You can limit data displayed on the portal by joining to the contact table and then using Contact.UserID=@me. 

Thanks,

Kurt


@KurtBauer 

 

Thanks


Has anyone determined that @KurtBauer solution of using @me in a Generic Inquiry called by a portal user from a Portal site works to restrict the data returned to just that of the Portal user?  I’m struggling to make this work.

Restriction groups are not an option for use due to security issues …

Thanks!


Reply