Bug 2598

Summary: Actions can move locked messages
Product: Claws Mail (GTK 2) Reporter: Abhay S. Kushwaha <clawsmail>
Component: UI/ActionsAssignee: users
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 3.8.0   
Hardware: PC   
OS: Windows NT   

Description Abhay S. Kushwaha 2012-02-09 07:16:52 UTC
Summary
=========
If a message is locked, it cannot be deleted, moved to another folder, etc. However, an action with appropriate filter action can still do it.

Steps to reproduce
====================
1. Lock a message
2. Go to Configurations -> Actions
3. Add/Save an action with a move "Filter action", for example:

   Menu Name: Move It
   Command: %as{move "#mh/Mailbox/testbox"}
   
   where "testbox" is a folder.
4. Select message
5. Run the action. Eg: Tools -> Actions -> Move It
   ("Move It" is the action we added in #3 above)

Observed Behaviour
====================
The locked message will be moved to the target folder, "testbox" in our case.

Expected Behaviour
====================
The locked message should not be allowed to be moved since it's locked.
Comment 1 users 2012-02-10 22:39:34 UTC
Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
http://www.claws-mail.org/tracker/

2012-02-10 [pawel]	3.8.0cvs28

	* src/filtering.c
		Fix bug #2598 'Actions can move locked messages'