mads.users

class to access user records.

class User(*args, **kwargs)[source]

Bases: mads.object.Object

Construct an Object, dotted dictionairy access instead of brackets.

class Users(*args, **kwargs)[source]

Bases: mads.storage.Storage

add(origin, perms=['USER'])[source]

add a user to the store.

allowed(origin, perm)[source]

check whether a user has a permission.

delete(origin, perms)[source]

add a user to the store.

fetch(origin)[source]

return user data.

path = 'runtime/users'
set(origin, perms)[source]

set a permission of a user.