Methods

(inner) changeAuthority(db, id, authority) → {Promise}

Parameters:
Name Type Description
db function
id string
authority number
Source:
Returns:
Type
Promise

(inner) createAuthority(db, id, authority) → {Promise}

Parameters:
Name Type Description
db function
id string
authority number
Source:
Returns:
Type
Promise

(inner) validateAuthority(id, authority) → {Object}

Parameters:
Name Type Description
id string
authority number
Source:
Returns:
Type
Object