summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-12-15 21:48:06 +0100 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-12-15 21:48:06 +0100 |
commit | 71a4a4195292bef8f48e8a533f2d31bc4a53ac2e (patch) | |
tree | c1ca60280c192d95a978ea36d22fe68506abe75b /src/special/spe_player.erl | |
parent | 69968df5ed21045e7a3679239705a397133db67b (diff) |
Seems to be working again.
Diffstat (limited to 'src/special/spe_player.erl')
-rw-r--r-- | src/special/spe_player.erl | 16 |
1 files changed, 14 insertions, 2 deletions
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) + ) + ) ) ] ), |