• Resolved Georgio

    (@georgio-1)


    Hi @imath

    IdeaSteam deletes ideas without confirmation. I think this is not a good thing, as they can be deleted by error.

    Just a suggestion for fixing…

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mathieu Viet

    (@imath)

    I think it’s behaving like WordPress posts. Deleted ideas should still be available in trash.

    Thread Starter Georgio

    (@georgio-1)

    If users don’t have access to dashboard, they cannot recover them. As a workaround, I will hide the delete link. Imagine someone takes a long time to write a text and then they delete it by error (it happened to me ?? )

    Plugin Author Mathieu Viet

    (@imath)

    Regular users can’t delete ideas, here’s the cap mappings i’m using:

    case 'delete_idea'            :
    case 'delete_ideas'           :
    case 'delete_others_ideas'    :
    case 'delete_private_ideas'   :
    case 'delete_published_ideas' :
    	$caps = array( 'manage_options' );
    	break;

    Only admins can, so admins can restore ideas.

    Thread Starter Georgio

    (@georgio-1)

    @imath
    Hi again (sorry, I am writing in english, because someone else can have the same problem…)

    I finally found the reason why it happens : when a subscriber becomes group admin, they can delete. In case they don’t have access in the dashboard, that can be annoying.

    Look for yourself: screenshot

    Practically, I don’t have a problem as I can hide it with css. I just report it for feedback.

    Thanks for your time!

    Plugin Author Mathieu Viet

    (@imath)

    @georgio-1

    An idea attached to a group can only be detached from a group. The idea is not deleted, she’s just not attached to the group anymore. So you should find it into the public archive.

    A group admin should have the right to remove an idea from his group, that’s the reason why this is there.

    If you absolutely want a confirm prompt you can use this code:
    https://gist.github.com/imath/ea4f65b25746ffd45319d5a990caeaf0

    Thread Starter Georgio

    (@georgio-1)

    Yeah, it’s much better with the confirmation dialog. I downloaded the snippet and it works very well. Thank you very much. Merci beaucoup !

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Deletes without confirmation’ is closed to new replies.