MagicSmoke
$VERSION$
|
encapsulated machine user/role/host management in several static functions; it is called directly from the user centered transactions; DO NOT USE THIS CLASS OUTSIDE TRANSACTION CONTEXT! More...
Static Public Member Functions | |
static | changePasswd ($trans) |
change a users password More... | |
static | createRole ($trans) |
creates a role More... | |
static | createUser ($trans) |
create a new user More... | |
static | deleteHost ($trans) |
deletes a host More... | |
static | deleteRole ($trans) |
delete role More... | |
static | deleteUser ($trans) |
deletes or merges a user More... | |
static | getAllHostNames ($trans) |
get all host names (sub-routine for clients user host dialog) More... | |
static | getUserHosts ($trans) |
get hosts of a user More... | |
static | getUserRoles ($trans) |
returns the roles of a user More... | |
static | setHost ($trans) |
create/update host More... | |
static | setRoleDescription ($trans) |
sets the description of a role More... | |
static | setRoleFlags ($trans) |
sets the flags of a role More... | |
static | setRoleRights ($trans) |
changes the rights attached to a role More... | |
static | setUserDescription ($trans) |
sets the description of a user More... | |
static | setUserFlags ($trans) |
sets the flags of a user More... | |
static | setUserHosts ($trans) |
set the hosts for a user More... | |
static | setUserRoles ($trans) |
set roles of a user More... | |
encapsulated machine user/role/host management in several static functions; it is called directly from the user centered transactions; DO NOT USE THIS CLASS OUTSIDE TRANSACTION CONTEXT!
|
static |
change a users password
References WTuser\getFromDB(), getSalt(), and tr().
Referenced by WTrChangePassword\handleRequest().
|
static |
creates a role
References WTrole\getFromDB(), WTrole\newRow(), and tr().
Referenced by WTrCreateRole\handleRequest().
|
static |
create a new user
References WOUser\fromTableuser(), WTuser\getFromDB(), getSalt(), WTuser\newRow(), and tr().
Referenced by WTrCreateUser\handleRequest().
|
static |
deletes a host
References WThost\getFromDB(), and tr().
Referenced by WTrDeleteHost\handleRequest().
|
static |
delete role
References $db, WTrole\getFromDB(), and tr().
Referenced by WTrDeleteRole\handleRequest().
|
static |
deletes or merges a user
References $db, WTuser\getFromDB(), and tr().
Referenced by WTrDeleteUser\handleRequest().
|
static |
get all host names (sub-routine for clients user host dialog)
References $db.
Referenced by WTrGetAllHostNames\handleRequest().
|
static |
get hosts of a user
References $db, WTuser\getFromDB(), and tr().
Referenced by WTrGetUserHosts\handleRequest().
|
static |
returns the roles of a user
References $db, WTuser\getFromDB(), WTuserrole\selectFromDB(), and tr().
Referenced by WTrGetUserRoles\handleRequest().
|
static |
create/update host
References WThost\getFromDB(), WThost\newRow(), and tr().
Referenced by WTrSetHost\handleRequest().
|
static |
sets the description of a role
References WTrole\getFromDB(), and tr().
Referenced by WTrSetRoleDescription\handleRequest().
|
static |
sets the flags of a role
References WOFlag\getAll(), WTrole\getFromDB(), and tr().
Referenced by WTrSetRoleFlags\handleRequest().
|
static |
changes the rights attached to a role
References $db, WTrole\getFromDB(), WobTransaction\privilegeNames(), tr(), and WobTransaction\transactionNames().
Referenced by WTrSetRoleRights\handleRequest().
|
static |
sets the description of a user
References WTuser\getFromDB(), and tr().
Referenced by WTrSetUserDescription\handleRequest().
|
static |
sets the flags of a user
References WOFlag\getAll(), WTuser\getFromDB(), and tr().
Referenced by WTrSetUserFlags\handleRequest().
|
static |
set the hosts for a user
References $db, WTuser\getFromDB(), and tr().
Referenced by WTrSetUserHosts\handleRequest().
|
static |
set roles of a user
References $db, WTuser\getFromDB(), and tr().
Referenced by WTrSetUserRoles\handleRequest().