cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
src.cm.views.guest.user Namespace Reference

Functions

def add
 Adds existing CLM User to CM Users.

Detailed Description

Note
All functions here are decorated by src.cm.utils.decorators.user_log. It's recommended to read src.cm.utils.decorators.user_log docs before using functions below.
Author
Tomek Sośnicki tom.s.nosp@m.osni.nosp@m.cki@g.nosp@m.mail.nosp@m..com Copy&paste: Maciej Nabozny

Function Documentation

def src.cm.views.guest.user.add (   new_user_id)

Adds existing CLM User to CM Users.

Note
The cm.utils.decorators.guest_log decorator provides handling/logging mechanism for each Exception raised in view. see also: cm.utils.decorators.guest_log
Parameters
http_request(HttpRequest)
new_user_id(POST int) id of the existing CLM User
Returns
HttpResponse with JSON content:
  • response: response status,
  • data: (None)

Definition at line 42 of file user.py.