Skip to content

Commit e2add87

Browse files
committed
canvas docs
1 parent 19c86ed commit e2add87

5 files changed

Lines changed: 81 additions & 24 deletions

File tree

canvas/canvas-users.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
layout: page
3+
title: Canvas Users
4+
parent: Canvas
5+
nav_order: 3
6+
---
7+
8+
# Canvas Users
9+
10+
## Adding Users
11+
* [How do I add users?](https://community.instructure.com/en/kb/articles/660963-how-do-i-add-users-to-a-course#add-new-user)
12+
* [How do I add an admin?](https://community.instructure.com/en/kb/articles/661407-how-do-i-add-an-admin-to-an-account)
13+
* [SIS Import Format Documentation](https://developerdocs.instructure.com/services/canvas/sis/file.sis_csv)
14+
* SIS Sheet (Non-students):
15+
16+
| user_id | login_id | email | first_name | last_name | full_name | sortable_name | canvas_password_notification | declared_user_type | status | account_id | authentication_provider_id |
17+
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
18+
| UID:952109 | ball | ball@berkeley.edu | Michael | Ball | Michael Ball | Ball, Michael | TRUE | administrative | active | 1 | canvas |
19+
20+
Likely, you won't have the permissions to add users or promote to admin as linked above on the production bCourses Canvas instance, but these articles are still useful for use in the [Sandbox]({{ 'canvas/sandbox' | relative_url }}). For production bCourses, check out:
21+
* [How do I request an administrator role in bCourses?](https://berkeley.service-now.com/kb_view.do?sysparm_article=KB0011247)
22+
* [bCourses Roles and Permissions Summary Matrix](https://docs.google.com/spreadsheets/u/0/d/e/2PACX-1vSz0eGkR8ZobudN62PsXyohlO1gHX8_3oE28SOngVhyxHvzWbixMMHE76wYBtYUwn024rtWi6l0OcWL/pubhtml?pli=1) Toggle between "course roles" and "account roles."
23+
* [bCourses Admin Roles and Permissions](https://berkeley.service-now.com/kb/en/bcourses-admin-roles-and-permissions?id=kb_article_view&sysparm_article=KB0011079)
24+
25+
26+
## Available IDs
27+
* `User ID` / `UID` / `directory ID`: exposed as `sis_login_id` in Canvas.
28+
* Numeric, sequential, monotonically increasing from the date of creation of CalNet.
29+
* Immutable.
30+
* Technically not FERPA procteded.
31+
* `Student ID`: exposed as sis_user_id in Canvas for current students.
32+
* Comes in many forms. Not all SIDs are 10 digits, but newly issued ones are.
33+
* Immutable.
34+
* FERPA protected.
35+
* `Cnavas User ID`: created by Canvas for use internal to Canvas.
36+
* Numeric.
37+
* Immutable.
38+
* `CalNet ID`: a public facing user name.
39+
* String.
40+
* Mutable.
41+
* `Email`: often the same as CalNet ID.
42+
* String.
43+
* Mutable.
44+
45+
46+
## Emails
47+
* We don't recommend using emails as primary keys.
48+
* While emails are unique, they are not a singular identifier of a person. A person may change their [CalNet ID](https://calnet.berkeley.edu/calnet-me/manage-my-calnet-account/you-change-your-calnet-id). In most cases, the updated CalNet ID is used, however the first CalNet ID is not deleted so it may still surface.
49+
* Additionally, people may set up email aliases. It can be annoying to detect when an alias is provided in place of a login email.
50+
51+
52+
## Student ID Numbers in Canvas
53+
* Student IDs (SIDs) are found in Canvas under "SIS User ID" or "SIS ID."
54+
* Sometimes, a SID is unavailable so the value will be "UID:*******" (Canvas user ID).
55+
* Because of this, do not assume that SIS User IDs are numeric.

canvas/dev-keys.md

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,26 @@ parent: Canvas
55
nav_order: 2
66
---
77

8-
# Developer Keys
8+
# Developer Keys
9+
10+
From the [official Canvas documentation](https://developerdocs.instructure.com/services/canvas/oauth2/file.developer_keys):
11+
12+
> "Developer keys are OAuth2 client ID and secret pairs stored in Canvas that allow third-party applications to request access to Canvas API endpoints via the OAuth2 flow. Access is granted after a user authorizes an app and Canvas creates an API access token that’s returned in the final request of the OAuth2 flow.
13+
> Developer keys created in a root account, by root account administrators or Instructure employees, are only functional for the account they are created in and its sub-accounts... By scoping the tokens, Canvas allows root account administrators to manage the specific API endpoints that tokens issued from a developer key have access to."
14+
15+
Said another way, the API server (Canvas) validates third-party apps (domain+redirect URI) and API key/API secret, and makes a request. Requests can authenticate users and provide information available on Canvas.
16+
17+
## Use in Development
18+
You can complete development work and test dev keys on the [Sandbox]({{ 'canvas/sandbox' | relative_url }}).
19+
20+
Individual persons do not need individual dev keys; you can (and should) re-use dev keys within development groups. For example, one dev key has been used by multiple iterations of CS61A and other course staff for development work on [sections]({{ 'course-software/seamless-learning/sections' | relative_url }}) for multiple semesters. When the domain, routes (redirect URIs) and scopes are the same, you can (and should) share the use of a single dev key.
21+
22+
We recommend that scoped keys are turned on even during development. Keys must be scoped in production, so doing this step early will decrease headaches later. If you have separate development efforts on the same app happening simultaneously that require different scopes, you may want to create separate dev keys. However, please keep dev keys created to a minimum.
23+
24+
## Use in Production
25+
Once you have verified your workflow in your development environment using a dev key for the Sandbox AND you've determined a minimal set of scopes, you're ready to request use in production. A staff (non-student) or faculty member should reach out to bcourseshelp AT berkeley DOT edu. The process of granting a production key includes Docusign.
26+
27+
## More on OAuth2
28+
[Canvas Oauth2 Overview](https://developerdocs.instructure.com/services/canvas/oauth2/file.oauth)
29+
30+
If something is going wrong with authentication, make sure that what is listed in the developer key is correct. Redirect URIs must match **exactly.**

canvas/index.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,10 @@ nav_order: 3
66

77
# Canvas
88

9-
10-
119
## Quick Links
12-
### Canvas Documentation
1310
* [Community Page](https://community.instructure.com/en/categories/canvas)
1411
* [Resource Page](https://community.instructure.com/en/kb/canvas-resource)
1512
* [Developer Documentation](https://developerdocs.instructure.com/services/canvas)
1613

17-
### UC Berkeley Documentation
18-
* [How do I request an administrator role in bCourses?](https://berkeley.service-now.com/kb_view.do?sysparm_article=KB0011247)
19-
* [bCourses Roles and Permissions Summary Matrix](https://docs.google.com/spreadsheets/u/0/d/e/2PACX-1vSz0eGkR8ZobudN62PsXyohlO1gHX8_3oE28SOngVhyxHvzWbixMMHE76wYBtYUwn024rtWi6l0OcWL/pubhtml?pli=1) Toggle between "course roles" and "account roles."
20-
* [bCourses Admin Roles and Permissions](https://berkeley.service-now.com/kb/en/bcourses-admin-roles-and-permissions?id=kb_article_view&sysparm_article=KB0011079)
21-
2214
## More Questions?
23-
You can ask on the `#cavnas-dev-support` channel in EECS Crossroads for help from CDSS faculty, staff, and TAs. You can also open a ServiceNow ticket by emailing bcourseshelp AT berkeley DOT edu.
15+
You can ask on the `#canvas-dev-support` channel in EECS Crossroads for help from CDSS faculty, staff, and TAs. You can also open a ServiceNow ticket by emailing bcourseshelp AT berkeley DOT edu.

canvas/misc-knowledge.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

canvas/sandbox.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ nav_order: 1
66
---
77

88
# Canvas Sandbox
9-
We have access to a [canvas sandbox environment](https://ucberkeleysandbox.instructure.com/login/canvas). This is a separate, development canvas instance from the production [bCourses](https://bcourses.berkeley.edu/) canvas instance. This separate environment allows for fast development work, not gated by communication with the bCourses team.
9+
We have access to a [Canvas sandbox environment](https://ucberkeleysandbox.instructure.com/login/canvas). This is a separate, development Canvas instance from the production [bCourses](https://bcourses.berkeley.edu/) Canvas instance. This separate environment allows for fast development work, not gated by communication with the bCourses team.
1010

11-
To be added to the sandbox, message in the `#cavnas-dev-support` channel in EECS Crossroads. Be sure to include what kind of development work you're planning on so we can add you as an admin if necessary.
11+
To be added to the sandbox, message in the `#canvas-dev-support` channel in EECS Crossroads. Be sure to include what kind of development work you're planning on so we can add you as an admin if necessary.
1212

0 commit comments

Comments
 (0)