JAVA-010 / Intermediate
Exposing entity privilege fields without @Column(updatable)
Why is this a problem?
Calling save(entity) overwrites role.
How to fix it
java
@Column(updatable = false) private String role; // Alternatively, restrict privilege changes to dedicated methods and policies