cc1
v2.1
CC1 source code docs
|
Functions | |
def | check_password |
Checks caller's password. | |
def | first_admin_add |
Creates first admin of the cluster. |
def src.cm.views.user.admin.check_password | ( | caller_id | ) |
Checks caller's password.
Authentication is performed inside @admin_cm_log decorator, therefore check_password() doesn't need to perform any further action.
http_request | (HttpRequest ) |
caller_id | (POST int ) |
admin_password | (POST string ) |
def src.cm.views.user.admin.first_admin_add | ( | caller_id, | |
new_password, | |||
clm_address | |||
) |
Creates first admin of the cluster.
It should be called right after submiting the form for adding new CM. System will not operate properly with no CM admin existing.
http_request | (HttpRequest ) |
caller_id | (POST int ) |
new_password | (POST string ) first CM admin password to set |
clm_address | (POST string ) |