From 71a4a4195292bef8f48e8a533f2d31bc4a53ac2e Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sat, 15 Dec 2018 21:48:06 +0100 Subject: Seems to be working again. --- src/special/spe_player.erl | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src/special') diff --git a/src/special/spe_player.erl b/src/special/spe_player.erl index 2e1b13e..00086fd 100644 --- a/src/special/spe_player.erl +++ b/src/special/spe_player.erl @@ -28,11 +28,23 @@ finalize_login (UsernameLC, EmailLC, PlayerID) -> ataxic:update_value(ataxic:constant(PlayerID)), ataxic:update_read_permission ( - ataxic:constant(ataxia_security:any()) + ataxic:constant + ( + ataxia_security:allow_only + ( + ataxia_security:any() + ) + ) ), ataxic:update_write_permission ( - ataxic:constant([ataxia_security:user_from_id(PlayerID)]) + ataxic:constant + ( + ataxia_security:allow_only + ( + ataxia_security:user_from_id(PlayerID) + ) + ) ) ] ), -- cgit v1.2.3-70-g09d2