Spring Projects Issues
Spring Projects Issues
**[Max Mumford](https://jira.spring.io/secure/ViewProfile.jspa?name=max%20mumford)** commented Hi `@Will`, I didn't mean that what I'm experiencing is a result of your workaround, I meant it is another problem I'm facing when trying to implement...
**[Piotr Żmudziński](https://jira.spring.io/secure/ViewProfile.jspa?name=pzmudzinski)** commented Isn't it major, rather than minor ticket? Currently there's no way of using `@RepositoryRestResource` together with `spring-security` annonations, such as `@PreAuthorize`, if you want to have some...
**[Burkhard Graves](https://jira.spring.io/secure/ViewProfile.jspa?name=dhukas)** commented Multiple repositories for entities are also problematic if request parameters or path variables are converted to instances of repository managed domain classes (done by `DomainClassConverter` respectively its...
**[Andrii Neverov](https://jira.spring.io/secure/ViewProfile.jspa?name=andrii.neverov)** commented +1 on Piotr's use-case Having composite repositories which would do a security check and delegate work to the non-secure version while maintaining the same interface is a...
**[Norbert Somlai](https://jira.spring.io/secure/[email protected])** commented I'm trying to work this around by merging my repositories, but I need to be able to handle saving records from POST requests (`@PreAuthorize`) and in the...
**[Dario Seidl](https://jira.spring.io/secure/ViewProfile.jspa?name=darioseidl)** commented I was also facing this issue with exactly the same use-case as the OP. Having two repositories, one exported and secured with method security expressions and another...
**[Norbert Somlai](https://jira.spring.io/secure/[email protected])** commented `@Dario` Seidl : Good idea. I have also received a suggestion on Stackoverflow to secure save() in the repository and use saveAndFlush() internally. Does not help with...
**[Yves Galante](https://jira.spring.io/secure/ViewProfile.jspa?name=yyvess)** commented Simple question... Why Spring Data does not simply ignore repositories annoted at class level with exposed false ? Actually Spring data keep a referance on that generate...
**[Istvan Ratkai](https://jira.spring.io/secure/ViewProfile.jspa?name=selindek)** commented I created an extension for Spring Boot Data JPA which resolves this issue by adding the following methods automatically: ```java S saveWithoutPermissionCheck(S entity); void deleteWithoutPermissionCheck(T entity); T...
**[Oliver Drotbohm](https://jira.spring.io/secure/ViewProfile.jspa?name=olivergierke)** commented What I am wondering is how would that annotation actually help the use case you've identified as problematic: the repository wanting to customize the defaults? I'd love...