Commit a43df67 1 parent 12b701b commit a43df67 Copy full SHA for a43df67
File tree 1 file changed +0
-18
lines changed
1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change 14
14
15
15
# Optional attributes stored on the XBlockUser
16
16
17
- # The anonymous user ID for the user in the course.
18
- ATTR_KEY_ANONYMOUS_USER_ID = 'edx-platform.anonymous_user_id'
19
- # The global (course-agnostic) anonymous user ID for the user.
20
- ATTR_KEY_DEPRECATED_ANONYMOUS_USER_ID = 'edx-platform.deprecated_anonymous_user_id'
21
- # The country code determined from the user's request IP address.
22
- ATTR_KEY_REQUEST_COUNTRY_CODE = 'edx-platform.request_country_code'
23
- # Whether the user is authenticated or anonymous.
24
- ATTR_KEY_IS_AUTHENTICATED = 'edx-platform.is_authenticated'
25
17
# The personally identifiable user ID.
26
18
ATTR_KEY_USER_ID = 'edx-platform.user_id'
27
- # The username.
28
- ATTR_KEY_USERNAME = 'edx-platform.username'
29
- # Whether the user is enrolled in the course as a Beta Tester.
30
- ATTR_KEY_USER_IS_BETA_TESTER = 'edx-platform.user_is_beta_tester'
31
- # Whether the user has staff access to the platform.
32
- ATTR_KEY_USER_IS_GLOBAL_STAFF = 'edx-platform.user_is_global_staff'
33
- # Whether the user is a course team member with 'Staff' or 'Admin' access.
34
- ATTR_KEY_USER_IS_STAFF = 'edx-platform.user_is_staff'
35
- # A dict containing user's entries from the `UserPreference` model.
36
- ATTR_KEY_USER_PREFERENCES = 'edx-platform.user_preferences'
37
19
# The user's role in the course ('staff', 'instructor', or 'student').
38
20
ATTR_KEY_USER_ROLE = 'edx-platform.user_role'
You can’t perform that action at this time.
0 commit comments