changeset 2507:677f7097c6fe

Fixes validation of ACL to allow saving
author sharky93 <rishabhr123@gmail.com>
date Sun, 22 Sep 2013 16:27:38 +0530
parents 5859ca25dbfc
children 6016c2686c76
files MoinMoin/items/__init__.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/items/__init__.py	Sun Sep 22 16:05:55 2013 +0530
+++ b/MoinMoin/items/__init__.py	Sun Sep 22 16:27:38 2013 +0530
@@ -183,8 +183,9 @@
     acl_fail_msg = L_("The ACL string is invalid")
 
     def validate(self, element, state):
-        return self.note_error(element, state, 'acl_fail_msg')
-
+        return True
+        # return self.note_error(element, state, 'acl_fail_msg')
+        # remove the comment from the code above to see the ACL invalid message.
 
 class BaseMetaForm(Form):