Skip to main content

Module user_ai_usage_notice_acknowledgements

Module user_ai_usage_notice_acknowledgements 

Source

Functionsยง

acknowledge
Records that the given user has acknowledged the AI-usage / academic-integrity notice for the course language group the given course belongs to. Acknowledgement is stored per course language group, so accepting the notice on one language version covers all language versions. Idempotent: a second call for the same (user, course language group) does nothing.
has_acknowledged
Whether the given user has acknowledged the AI-usage notice for the course language group the given course belongs to (any language version of the course counts).