Skip to content

Commit a0b57a6

Browse files
committed
docs(decisions): document global_staff role mapping in ADR 0008
1 parent 2ee8abf commit a0b57a6

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

docs/decisions/0008-lti-1p3-role-mapping-update.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ These include course roles such as ``limited_staff``, ``finance_admin``, ``sales
2525
``beta_testers``, ``library_user``, ``ccx_coach``, and ``data_researcher``.
2626
Open edX also defines discussion roles such as ``Administrator``, ``Moderator``,
2727
``Group Moderator``, ``Community TA``, and ``Student``.
28+
Global Django staff (``user.is_staff``) is represented in LTI mapping as ``global_staff``.
2829

2930
This ADR records updated mapping used for:
3031

@@ -60,6 +61,15 @@ Context role mapping is shown below.
6061
``membership#Administrator``
6162
``membership#Instructor``
6263
- Course admin role in Open edX maps to highest course-context privilege.
64+
* - global_staff
65+
- ``system/person#Administrator``
66+
``institution/person#Administrator``
67+
``institution/person#Staff``
68+
``institution/person#Faculty``
69+
``institution/person#Instructor``
70+
``membership#Administrator``
71+
``membership#Instructor``
72+
- Global Django staff maps to instance-admin style LIS roles for tool launches.
6373
* - staff
6474
- ``system/person#None``
6575
``institution/person#None``
@@ -150,6 +160,8 @@ For NRPS membership responses, Open edX includes context roles only.
150160
- NRPS roles included
151161
* - instructor
152162
- ``membership#Administrator`` ``membership#Instructor``
163+
* - global_staff
164+
- ``membership#Administrator`` ``membership#Instructor``
153165
* - staff
154166
- ``membership#Instructor``
155167
* - limited_staff
@@ -163,5 +175,5 @@ Consequences
163175
============
164176

165177
* Tool compatibility improves because context role URIs are now present in launch and NRPS flows.
166-
* Open edX role handling becomes explicit for current known course and org role values.
178+
* Open edX role handling becomes explicit for current known course, org, and global staff values.
167179
* Older documentation in ``0002-lti-1p3-variables.rst`` remains historical and should not be treated as current source of truth for roles mapping.

0 commit comments

Comments
 (0)