Public Member Functions | |
__init__ (secureDir, users) | |
readPermissions () | |
registerPermission (role, permission, permDesc) | |
checkPermission (user, permission) | |
roleHasPermission (role, permission) | |
getPermissions (role=None) | |
getPermissionDescription (permission) | |
getRoles () | |
authenticateUser (loginId, password) | |
changePassword (loginId, password, userName, oldPassword="") | |
addPassword (loginId, password, userName) | |
checkPassword (loginId) | |
deleteUser (loginId) |
Definition at line 18 of file rcSecurityMan.py.
|
Add a new user to the password database
|
|
Authenticate the user based on the given login id and password.
|
|
Change an existing user's password.
|
|
Checks if a user already has a password
|
|
Checks if the user has been granted the specified permission
|
|
Deletes the user based on the given login id and password.
|
|
Returns the description for the specified permission. If permission does not exist, returns None.
|
|
Returns the list of all permissions defined. If role has been specified then returns all permissions defined for that role.
|
|
Returns the list of all roles defined.
|
|
Read permissions from the security.cfg file and update user objects. |
|
Method available to be called by a user script that allows the script to register a permission given a role and update any user permissions who belong in that role
|
|
Check if permission exists in role.
|