[wellwell-devel] [wellwell] Add configuration hint to the error message produced by [acl] in case of missing ACL information.

Stefan Hornburg wellwell-devel at rt.icdevgroup.org
Thu Sep 30 19:49:50 UTC 2010


commit 237ab0c6fe38887b710faf54fb49d10a0b3fcfed
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Thu Sep 30 21:48:51 2010 +0200

    Add configuration hint to the error message produced by [acl] in case of missing ACL information.

 lib/WellWell/ACL.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/WellWell/ACL.pm b/lib/WellWell/ACL.pm
index 1968c0c..16d087a 100644
--- a/lib/WellWell/ACL.pm
+++ b/lib/WellWell/ACL.pm
@@ -37,7 +37,7 @@ sub acl {
 	return 1 unless $permission;
 
 	unless ($acl_config = $Vend::Cfg->{ACL}) {
-		die ::errmsg("ACL configuration missing in [acl] tag."), "\n";
+		die ::errmsg("ACL configuration missing in [acl] tag.\nPlease add StartupHooks prepare_database to your catalog configuration file."), "\n";
 	}
 	
 	# match UID on request



More information about the wellwell-devel mailing list