summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2019-01-11 17:39:52 +0100
committernsensfel <SpamShield0@noot-noot.org>2019-01-11 17:39:52 +0100
commit8eb72b987e3eb3906528d5286eb5560f71cec36e (patch)
treecb2d17617cece5f4609c4831a1dd3bdfcf4e9434 /src
parent7f162e8824f3977dc5cc207dd5257ad0b39faa97 (diff)
Small mistake there...
Diffstat (limited to 'src')
-rw-r--r--src/ataxia_client.erl8
1 files changed, 4 insertions, 4 deletions
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).