cc1
v2.1
CC1 source code docs
|
Functions | |
def | add |
Creates new admin of the cluster. | |
def | am_i_admin |
def | change_password |
Method to change CM Admin password. | |
def | delete |
Removes specified User with id cmadmin_id from CM Admins. | |
def | list_admins |
Method returns list of the CM Admins. | |
def | restart |
Method returns list of the CM Admins. |
def src.cm.views.admin_cm.admin.add | ( | caller_id, | |
user_id, | |||
new_password | |||
) |
Creates new admin of the cluster.
http_request | (HttpRequest ) |
caller_id | (POST int ) |
admin_password | (POST string ) |
user_id | (POST int ) id of the User to gain CM Admin privileges |
new_password | (POST string ) CM Admin password for User |
def src.cm.views.admin_cm.admin.am_i_admin | ( | caller_id | ) |
def src.cm.views.admin_cm.admin.change_password | ( | caller_id, | |
new_password | |||
) |
Method to change CM Admin password.
http_request | (HttpRequest ) |
caller_id | (POST int ) |
admin_password | (POST string ) |
new_password | (POST string ) new password to set |
def src.cm.views.admin_cm.admin.delete | ( | caller_id, | |
user_id | |||
) |
Removes specified User with id cmadmin_id
from CM Admins.
http_request | (HttpRequest ) |
caller_id | (POST int ) |
admin_password | (POST string ) |
user_id | (POST int ) id of the User to revoke CM admin privileges |
def src.cm.views.admin_cm.admin.list_admins | ( | caller_id | ) |
Method returns list of the CM Admins.
http_request | (HttpRequest ) |
caller_id | (POST int ) |
admin_password | (POST string ) |
list(int)
) ids of the CM Admins def src.cm.views.admin_cm.admin.restart | ( | caller_id | ) |
Method returns list of the CM Admins.
http_request | (HttpRequest ) |
caller_id | (POST int ) |
admin_password | (POST string ) |