On 11/4/13 12:10 PM, Plotkin, Brian wrote:
> As the subject states: How do you remove these things from the site?
> 
> Using Moderate, I have found that users are, in fact, removed from the user 
> list, but then they show up in the projects list. Neighboorhoods do not 
> appear to be removable at all, same goes for projects.
> 
> 

Hi Brian.  This is indeed missing from our docs (ticket #5943 to rectify), and
not functionality in the admin interface of Allura.  You can however remove &
disable them from the mongo database shell directly.  For example:

$ mongo allura
> db.neighborhood.remove({url_prefix:'/adobe/'})
> db.user.update({username:/test/}, {$set: {disabled:true}}, false, true)
> db.user.update({username:/root/}, {$set: {disabled:true}}, false, true)
> db.user.update({username:/admin/}, {$set: {disabled:true}}, false, true)
> db.project.remove({shortname:'test'})    // may need to add a neighborhood_id
parameter if the project name exists in more than one nbhd.

You can also "delete" a project through its Admin page, on the Metadata page,
click "Delete project" radio button on the right side.  This merely flags the
project as deleted so that its not visible (except to admins).

Also note that all users get a "user-project" at u/username, so there are 2
things to remove.  However, disabling a user will make their user-project
disabled too.

Hope that helps - let us know if you have any more questions


-- 
Dave Brondsema : d...@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
              <><

Reply via email to