Skip to content

Commit

Permalink
Merge pull request #542 from it-at-m/466-read-kopfdaten-saveall
Browse files Browse the repository at this point in the history
kopfdaten saveAll Rechte angepasst
  • Loading branch information
GerhardPx authored Nov 14, 2024
2 parents e6957e2 + f995dd0 commit 2b5b864
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public interface KopfdatenRepository extends CrudRepository<Kopfdaten, BezirkUnd
@PreAuthorize("hasAuthority('Basisdaten_WRITE_Kopfdaten')")
<S extends Kopfdaten> S save(S kopfdaten);

@Override
@PreAuthorize("hasAuthority('Basisdaten_WRITE_Kopfdaten')")
<S extends Kopfdaten> Iterable<S> saveAll(Iterable<S> iterable);

@Override
@CacheEvict(value = CACHE, key = "#p0")
@PreAuthorize("hasAuthority('Basisdaten_DELETE_Kopfdaten')")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public class Authorities {

REPOSITORY_WRITE_WAHL,
REPOSITORY_WRITE_WAHLBEZIRK,
REPOSITORY_READ_KOPFDATEN
REPOSITORY_WRITE_KOPFDATEN
};

public static final String[] ALL_AUTHORITIES_PUT_WAHLTERMINDATEN_THAT_GOT_CATCHED_ON_MISSING = {
Expand Down

0 comments on commit 2b5b864

Please sign in to comment.