Skip to content
Snippets Groups Projects
Commit a40c7c75 authored by Sascha Herzinger's avatar Sascha Herzinger
Browse files

forgot to make user privileges cascade

parent a71ffe29
No related branches found
No related tags found
2 merge requests!836Resolve "Implement Spring Security",!613WIP: New Minerva Security Layer
Pipeline #10878 failed
......@@ -67,7 +67,7 @@ public class User implements Serializable {
@Cascade({ org.hibernate.annotations.CascadeType.ALL })
private Set<Calendar> termsOfUseConsentDates = new HashSet<>();
@ManyToMany
@ManyToMany(cascade = CascadeType.ALL)
@JoinTable(
name = "user_privilege_map_table",
joinColumns = @JoinColumn(name = "user_id"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment