fixed the error message for custom fields
fixed the if structure and added a test
modified the test, but still something is wrong
Adds specs
Fixes duplicates in workflow transitions
Adds specs
Makes workflows visible for non-admin users
Fixes postgres errors
altered the spec but still not working test
correctly call the method instead of the local variable
move flash message after logged_user because it resets the session
refactor the user destroy method. make the case where the user deletes him/herself more clear with a separate variable.
fixed the error message for custom fields and added a spec
Hides flash messages by default
Removes superfluous patch
Adds changelog entry
use of regexp
Merge pull request #911 from opf/fix/correct_user_logout_when_destroyed2
Refactoring
Merge pull request #916 from opf/fix/error_message_custom_fields