(FlowUI) User access to main

I have created a resource role with access to FlowUI: Minimal access and application specific some menu
image
:

When log in by this user, I get the following menu screen which is obviously not the expected theme of the menu.

image

However, from the above menu, If I click on an option which this user has access, it opens the expected screen nicely:
image

Is it something I am missing or something not working?

I also added the following:

    @ViewPolicy( 
         viewIds = [ 
             "flowui.loginToUi", 
             "MainView",

Thanks. I am using the run-time option to create Resource roles and it looks like main view and login UI are already included but not working as expected.

image

One thing I have noticed when I click on the “Read” button in the default resource, I get the following exception

image

Hi,

It seems that actual MainView's id differs from the one set in the UiMinimalRole. As a result you face two problems:

  1. UiMinimalRole has no effect: See issue
  2. Some internal mechanisms don’t know the title of inexistent view and return null: See issue

Regards,
Gleb

1 Like

Thank you, Gleb for identifying the root cause and issue log for a solution.