Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
General questions and topics about Xerte Toolkits that don’t fit anywhere else.
  • Page:
  • 1

TOPIC:

Delete users and user content 10 years 9 months ago #1028

  • bob.woods
  • bob.woods's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
how do i delete users from Xerte (including their content)?

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

thanks
bob

Please Log in or Create an account to join the conversation.

Delete users and user content 10 years 9 months ago #1030

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1265
  • Thank you received: 319
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?

Please Log in or Create an account to join the conversation.

Delete users and user content 10 years 9 months ago #1032

  • bob.woods
  • bob.woods's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

Delete users and user content 10 years 9 months ago #1033

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1265
  • Thank you received: 319
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-*
The following user(s) said Thank You: bob.woods

Please Log in or Create an account to join the conversation.

Delete users and user content 10 years 8 months ago #1064

  • bob.woods
  • bob.woods's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 7
  • Thank you received: 0
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?



thanks
bob

Please Log in or Create an account to join the conversation.

Delete users and user content 10 years 8 months ago #1072

  • coursenligne
  • coursenligne's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 43
  • Thank you received: 3
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...
The following user(s) said Thank You: bob.woods

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ingdon
Time to create page: 0.047 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search