Menu

#22 Allow User Who Adds Book Ability to Delete

open
5
2005-03-21
2005-03-19
No

I would like the ability for my users to delete a book that
they have added. On my site,
www.recycledbookclub.com, I have users add books
that they are trading. I currently have them submit
modifications to delete books that have been traded, but
I would like the user who adds a book to have the ability
to delete or modify a book entry he or she submitted
without having to have admin rights to access the admin
section of books. In other words, no one (except admin)
can delete or modify another user's book, but the
individual user who added that book can delete or
modify it.

I would also like for users to be able to access a list of
his or her books in the inventory - in "My Account," he
or she should be able to click on a link to access the
books he or she has added to the database.

Thanks! nokturnalmuse

Discussion

  • Jean-michel Vedrine

    Logged In: YES
    user_id=925817

    This is a very specific usage of the books module. The
    problem is that the content of the submitter is not
    authenticated : if the user is not a registered one the field is
    empty so if another unregistered come after he will have the
    right to delete all the books entered by all unregistered users.
    Look at what currently happend to comments or forums
    posts on ALL websites : a registered user make a post and
    after realize that he has not entered his login so the post is
    labeled as Anonymous. You will have to deal with this
    problem as well. I need to think to all the problems involved
    before implementing this feature if ever.

     
  • Jean-michel Vedrine

    • assigned_to: nobody --> jmvedrine
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.