canvas-lms/app
Zach Pendleton b17f5a0e54 add CommunicationChannel#create api. refs #8280.
test plan:
  * make call as account admin user, verify that channel is created
    and in 'unconfirmed' state;
  * make call as admin user with skip_confirmation=1 param, verify
    that channel is still in 'unconfirmed' state;
  * make call as site admin with skip_confirmation=1; verify that
    channel is created as 'active';
  * make call as any user to create a channel on your own account;
    verify that call is successful;
  * make call to create own channel with skip_confirmation=1; verify
    that channel is still 'unconfirmed';
  * make call as non-admin user to create channel for another user;
    verify that 401 is returned.

Change-Id: I3108ac31b8b06f9202b9d11fa9475ed204a5f3f1
Reviewed-on: https://gerrit.instructure.com/10567
Reviewed-by: Cody Cutrer <cody@instructure.com>
Tested-by: Jenkins <jenkins@instructure.com>
2012-05-09 11:08:07 -06:00
..
coffeescripts add CommunicationChannel#create api. refs #8280. 2012-05-09 11:08:07 -06:00
controllers add CommunicationChannel#create api. refs #8280. 2012-05-09 11:08:07 -06:00
helpers Show term info when you show course name, fixes #6837 2012-05-01 13:04:49 -06:00
messages multiple contexts per appointment group 2012-04-30 15:30:03 -06:00
middleware don't perma-cache special accounts 2012-02-21 10:19:35 -07:00
models copy rubrics associated with assignment even when not selected 2012-05-09 10:31:06 -06:00
observers fix avatar fallbacks in conversations (and generally), fixes #7539 2012-03-07 11:12:23 -07:00
stylesheets make discussions accessible, fixes #7980 2012-05-07 10:46:40 -06:00
views add CommunicationChannel#create api. refs #8280. 2012-05-09 11:08:07 -06:00