You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have the exact same problem as described in #1981.
Our reason is that we override repositoryInvokerFactory to return a custom SecurityRepositoryInvokerFactory which returns repositories with included permission checks.
The solution in the issue mentioned above was to get away from overriding RepositoryRestMvcConfiguration by making use of other mechanism to achieve the same goal. Could anyone please tell me what would be the suggested solution here?
Not sure it is necessary but for completness here's our implementation:
Would you mind elaborating on what exactly you're trying to achieve? Spring Data REST already supports SpringSecurity expressions on the repository interfaces themselves. Other than that, there's nothing to add on top of what has been generally discussed in #1981. RRMC has been deprecated for extensions for a long while now. If we can describe a use case for extending one of the internal components, we can think about exposing customization hooks for those.
I have inherited this code and I guess neither the original author nor me knew about SpringSecurity expressions. Thanks for pointing me in this direction - I will try and in case our requirements exceed the possibilities of those expressions I will come back to you.
We have the exact same problem as described in #1981.
Our reason is that we override repositoryInvokerFactory to return a custom SecurityRepositoryInvokerFactory which returns repositories with included permission checks.
The solution in the issue mentioned above was to get away from overriding RepositoryRestMvcConfiguration by making use of other mechanism to achieve the same goal. Could anyone please tell me what would be the suggested solution here?
Not sure it is necessary but for completness here's our implementation:
The text was updated successfully, but these errors were encountered: