UserRole value does not set in Incognito Mode cookie / Actions based on the UserRole

Hello there. I got an issue with Chrome Incognito Mode. 
There is a computer where two guys use the app for a while, testing if it fits to the expectations, so they switch their accounts by using the incognito mode but there are two actions that are only shown based on the UserRole. 

Looking deeply into this issue, I just found out that in incognito mode, the cookie set in incognito mode doesn't share the same info as a cookie set in normal mode. 
Samples below: 

Incognito:

{"UserInfo":{"Id":****************,"Name":"","AuthUserId":"**********************","AuthUserEmail":"********","AuthSource":"google"},"Metadata":{"Path":"/","Domain":"appsheet.com","Expires":"2023-11-09T08:35:58.2110063Z","Secure":true,"SupportAccess":false}}

Normal browser mode: 

{%22UserInfo%22:{%22Id%22:304336238%2C%22Name%22:%22%22%2C%22AuthUserId%22:%*****************%22%2C%22AuthUserEmail%22:%22*******************%22%2C%22AuthSource%22:%22google%22%2C%22UserRole%22:%22User%22}%2C%22Metadata%22:{%22Path%22:%22/%22%2C%22Domain%22:%22appsheet.com%22%2C%22Expires%22:%222023-11-09T09:17:49.324Z%22%2C%22Secure%22:true%2C%22SupportAccess%22:false}}

 

As you can see, the Normal Mode sets a value of User Role and the actions are shown. 

Is there a way to fix this or is it just a security restriction?

Thanks in advance.

0 1 93
1 REPLY 1

I think it is likely a bug.  I would reach out to AppSheet support and present your findings.

You can work around this by implementing your own Users and UserRoles tables.  You might you need to anyway in the future if you need to provide Role-based permissions more than just "Admin" and "User".

Top Labels in this Space