From 8eb72b987e3eb3906528d5286eb5560f71cec36e Mon Sep 17 00:00:00 2001 From: nsensfel Date: Fri, 11 Jan 2019 17:39:52 +0100 Subject: Small mistake there... --- src/ataxia_client.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/ataxia_client.erl b/src/ataxia_client.erl index 71f0d63..12c63c7 100644 --- a/src/ataxia_client.erl +++ b/src/ataxia_client.erl @@ -76,7 +76,7 @@ get_db_node_for (_ObjectID) -> ) -> ({'aborted', any()} | 'ok'). add_at (DB, ID, User, Value) -> - Permission = ataxia_permission:allow_only(User), + Permission = ataxia_security:allow_only(User), add_at(DB, ID, Permission, Permission, ataxia_lock:unlocked(), Value). @@ -88,7 +88,7 @@ add_at (DB, ID, User, Value) -> ) -> ({'ok', ataxia_id:type()} | {'aborted', any()}). add (DB, User, Value) -> - Permission = ataxia_permission:allow_only(User), + Permission = ataxia_security:allow_only(User), add(DB, Permission, Permission, ataxia_lock:unlocked(), Value). @@ -99,7 +99,7 @@ add (DB, User, Value) -> ) -> ({'ok', ataxia_id:type()} | {'aborted', any()}). reserve (DB, User) -> - Permission = ataxia_permission:allow_only(User), + Permission = ataxia_security:allow_only(User), reserve (DB, Permission, Permission, ataxia_lock:unlocked()). @@ -111,7 +111,7 @@ reserve (DB, User) -> ) -> ('ok' | {'aborted', any()}). reserve_at (DB, User, ID) -> - Permission = ataxia_permission:allow_only(User), + Permission = ataxia_security:allow_only(User), reserve_at (DB, Permission, Permission, ataxia_lock:unlocked(), ID). -- cgit v1.2.3-70-g09d2