Arango v0.0.1 Arangoex.User
ArangoDB User methods
Summary
Functions
Create User
List the databases available to a User
Grant database access
Remove User
Replace User
Revoke database access
Update User
Fetch User
List available Users
Types
t()
t() :: %Arangoex.User{active: boolean, changePassword: boolean, extra: map, passwd: term, user: String.t}
Functions
Create User
POST /_api/user
List the databases available to a User
GET /_api/user/{user}/database
grant(endpoint, user, database)
grant(Arangoex.Endpoint.t, t, Database.t) :: Arangoex.ok_error([String.t])
Grant database access
PUT /_api/user/{user}/database/{dbname}
new(map_or_kwlist, opts \\ [])
new(ExConstructor.map_or_kwlist, Keyword.t) :: %Arangoex.User{active: term, changePassword: term, extra: term, passwd: term, user: term}
Remove User
DELETE /_api/user/{user}
revoke(endpoint, user, database)
revoke(Arangoex.Endpoint.t, t, Database.t) :: Arangoex.ok_error([String.t])
Revoke database access
PUT /_api/user/{user}/database/{dbname}
Fetch User
GET /_api/user/{user}
List available Users
GET /_api/user/