How can I get a list (List) of all screens a given user is authorised for?
The following code gives me a list of all screens available:
protected Set getAllScreenIds() {
** Collection windows = windowConfig.getWindows();**
** return windows.stream()**
** .map(WindowInfo::getId)**
** .collect(Collectors.toSet());**
** }**
The name of the screen is something like ‘xyz_invoices.browse’
I guess this is coming from @UiController(“xyz_invoices.browse”)?
Is there a way to get better screen names without changing @UiController?
Something like:
@UiController(“xyz_invoices.browse”)
???(“Invoice list”)