Hi all,
I have created a UI5 app for HANA FLP (not Gateway FLP). In configuring the app launcher tile, I've set it up with a semantic object navigation target, so that I can nav straight to it from the HANA FLP without opening a new tab.
The trouble I face is that I cannot navigate to my app unless I give the logged in user the SITE_DESIGNER role. However, this shouldn't be necessary. The sap.hana.uis.db::SITE_USER role should be sufficient for this.
To explain with some pictures, here is my app tile in my Fiori LP on HANA:
Here the role I have created and applied to my user; note that this role extends SITE_DESIGNER. Extending a role like this is standard behaviour for a role that applied to an app with a semantic navigation target. The thing is, this role shouldn't need to give a user the SITE_DESIGNER role. That's overkill.
When I click the tile, I am taken to the app, within the Fiori shell through the semantic object navigation target (stanom-show):
If I now change my role to extend the sap.hana.uis.db::SITE_USER role, we run into trouble:
And now when I navigate to my app...
Here is the console from Chrome. Quite clearly, the FLP can no longer read from the semantic navigation views/tables in order to determine the path to the semantic navigation target.
What's also VERY interesting is that if I copy all the privileges in the sap.hana.uis.db::SITE_DESIGNER role into my application role (which is granted to my user), I still get this error!
So I'm curious to know what's going on here, and if I'm missing something?
Cheers,
Hagen