spring icon indicating copy to clipboard operation
spring copied to clipboard

ViewAccessControl and ViewInstanceAccessControl for specific UI

Open dyorgio opened this issue 7 years ago • 1 comments

Today view access control beans are "global" for all UIs available on application.

I propose to adjust it to support ui class parameter in UIScope annotation like SpringView annotation does.

Then, vaadin-spring can use this information to only invoke VAC and VIAC beans when in correct UI.

Currently we can work with ui parameter of theses interfaces, but we cannot inject specific UI beans on it.

dyorgio avatar May 04 '17 23:05 dyorgio

Appears that SpringNavigator have the same issue, you cannot have multiple navigators beans for different UIs on the same application.

dyorgio avatar May 05 '17 21:05 dyorgio