feat: harden student grade privacy, eradicate mock hallucinations, and normalize profile tool access (v3.8.33)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{% set active_auth_user = auth_user if (auth_user and auth_user.is_authenticated) else (current_user if (current_user and current_user.is_authenticated) else user) %}
|
||||
{% set active_auth_user = impersonated_user if (is_impersonating and impersonated_user) else (auth_user if (auth_user and auth_user.is_authenticated) else (current_user if (current_user and current_user.is_authenticated) else user)) %}
|
||||
{% set current_user_id = active_auth_user.id if active_auth_user and active_auth_user.id else '' %}
|
||||
{% set current_user_email = active_auth_user.email if active_auth_user and active_auth_user.email else '' %}
|
||||
{% set current_user_name = active_auth_user.first_name if (active_auth_user and active_auth_user.first_name) else (active_auth_user.name if active_auth_user else '') %}
|
||||
|
||||
Reference in New Issue
Block a user