Skip to content

Commit d88677b

Browse files
committed
Temporary security fix for data protection
1 parent 2d5784a commit d88677b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/faforever/api/data/domain/Player.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
@SharePermission
2828
@Setter
2929
@Type(Player.TYPE_NAME)
30+
@ReadPermission(expression = AdminModerationReportCheck.EXPRESSION + " OR " + IsEntityOwner.EXPRESSION)
3031
public class Player extends Login {
3132

3233
public static final String TYPE_NAME = "player";

0 commit comments

Comments
 (0)