Reset all users acceptance to terms of use

24 views
Skip to first unread message

Michi Emde

unread,
Nov 21, 2023, 5:43:13 AM11/21/23
to OpenOlat
I have changed the terms of use. How can I reset all users acceptances so that they see the new terms of use on next login and have to agree once again?

Florian Gnägi

unread,
Nov 21, 2023, 9:49:49 AM11/21/23
to open...@googlegroups.com
delete from o_property where name='dislaimer_accepted';

Cheers
Florian


Am 21.11.2023 um 11:43 schrieb Michi Emde <segel...@gmail.com>:

I have changed the terms of use. How can I reset all users acceptances so that they see the new terms of use on next login and have to agree once again?

--
--
Sie erhalten diese Nachricht, weil Sie Mitglied sind von Google
Groups-Gruppe "OpenOlat".
Für das Erstellen von Beiträgen in dieser Gruppe senden Sie eine E-Mail
an open...@googlegroups.com
Um sich von dieser Gruppe abzumelden, senden Sie eine E-Mail an
openolat+u...@googlegroups.com
Weitere Optionen finden Sie in dieser Gruppe unter
http://groups.google.com/group/openolat?hl=de
-------------------------------------------------------------------------------------------------------------------
OpenOlat - infinite learning - http://www.openolat.org
---
You received this message because you are subscribed to the Google Groups "OpenOlat" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openolat+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openolat/0c902fca-a73b-4fdc-ad92-1f1131f8337bn%40googlegroups.com.

--------------------------------------------------------------------
professional services for the e-learning system OpenOlat
hosting - operating - support - development - mobile - consulting
--------------------------------------------------------------------
frentix  GmbH
Florian Gnägi, Geschäftsführer
Okenstrasse 6
CH-8037 Zürich, Switzerland


Find me on mastodon linkedin 
--------------------------------------------------------------------



Michi Emde

unread,
Nov 22, 2023, 4:16:24 AM11/22/23
to OpenOlat
Thank you!
Cheers Michael

Michi Emde

unread,
Nov 22, 2023, 8:01:23 AM11/22/23
to OpenOlat
I have one more question: 
Is there an endpoint in the REST-Api that tells me, who has accepted the terms-of-use?
(Or indirectly, by getting the timestamp of the last successful login.)
Thanks in advance!
Michael

Florian Gnägi schrieb am Dienstag, 21. November 2023 um 15:49:49 UTC+1:

Florian Gnaegi

unread,
Nov 26, 2023, 6:41:26 AM11/26/23
to open...@googlegroups.com
Hi Michael

No, sorry. You can make a query on the database to get this information, you need to join the properties with the identities table. 

Cheers
Florian

Michi Emde

unread,
Nov 26, 2023, 12:43:28 PM11/26/23
to OpenOlat
Thank you! Yes, thats exactly what I did.
Michael
Reply all
Reply to author
Forward
0 new messages