General questions and topics about Xerte Toolkits that don’t fit anywhere else.

Delete users and user content

  • bob.woods
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
12 jaren 7 maanden geleden #1028 door bob.woods
Delete users and user content werd gestart door bob.woods
how do i delete users from Xerte (including their content)?

and how do i block/remove a user-published webpage?

thanks
bob

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
12 jaren 7 maanden geleden #1030 door tom
Beantwoord door tom in topic Delete users and user content
Which authentication are you using? LDAP, DB?

I'll have to check, bacause I know you can delet users when using the DB authentication, but I don't think it will remove the content.

What do you mean by 'published web-page'. You mean a Learning Object that was published (and thus publicly available if you know the URL)? And you want to unpublish it? or delete it?

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • bob.woods
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
12 jaren 7 maanden geleden #1032 door bob.woods
Beantwoord door bob.woods in topic Delete users and user content
we're using LDAPS for authentication

i think i do mean a Learning Object (sorry - i'm setting up the IT of this so i haven't got as far as actually trying to use it!).

basically i need to be able to quickly block or remove any 'inappropriate' content if it gets put on there, and i also want to be able to remove users' files if they start taking up too much space on the server.

and i'd like to be able to get rid of redundant accounts once students have left or finished with it

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
12 jaren 7 maanden geleden #1033 door tom
Beantwoord door tom in topic Delete users and user content
Since you're IT, I suppose you have access to the installation.

I can at least give you some workarounds now:

* Delete a specific Learning Object (LO).
- You need the number (the id) of the LO, and then you delete, or change the access rights of the folder in USER-FILES that starts with this id (for example my LO with id 121 can be found in <xot installation folder>/USER-FILES/121-treijnders-Nottingham )

* remove contents of a user
Remove all folders containg the username in the USER-FILES folder, so to delete all my LO's, you would need to delete all folders that have treijnders in them.

It's a bit dangerous, and I wouldn't do it with wildcards, but in principle:
rm -rf USER-FILES/*-treijnders-*
De volgende gebruiker (s) zei dank u: bob.woods

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • bob.woods
  • Onderwerp Auteur
  • Offline
  • Nieuw lid
  • Nieuw lid
Meer
12 jaren 6 maanden geleden #1064 door bob.woods
Beantwoord door bob.woods in topic Delete users and user content
is it possible to delete (or completely disable) the 'guest' user? [i'm using xertetoolkits_2.0 on a LAMP server with LDAP for authentication]

i've tried setting authentication to DB but it doesn't seem to allow me to delete users (including 'guest' or any users who have authenticated by LDAP)

and i've deleted all the 'guest' content (see your reply above) but the user is still sitting in the user list

is there a php database file with them all i that i can edit?

[i'm asking as our security team are somewhat sensitive about 'guest' accounts on things]

thanks
bob

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
12 jaren 6 maanden geleden #1072 door coursenligne
Beantwoord door coursenligne in topic Delete users and user content
Hi, As said, as an IT guy, you may have access to the database, enthough the GUI of XOT doesn't "allow" some things, you still can do it through the database itself (easier if the authentication is DB based).
Just to summarize:
you can't deactivate simultneously a user and its jobs, but using database request you are able (just remember that all this is working wit IDs).

Good luck :)

If I can help I will do for sure...
De volgende gebruiker (s) zei dank u: bob.woods

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ingdon
Tijd voor maken pagina: 0.560 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo