Skip to content
Snippets Groups Projects
Commit d5ce66f6 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

The authcheck now prints a warning if no ACLs are available.

darcs-hash:20050714201333-7ad00-77d1547bb869b54105f71b49bafb3b1071512747.gz
parent b5bef19b
No related branches found
No related tags found
No related merge requests found
...@@ -304,7 +304,8 @@ function auth_aclcheck($id,$user,$groups){ ...@@ -304,7 +304,8 @@ function auth_aclcheck($id,$user,$groups){
//we did this already //we did this already
//looks like there is something wrong with the ACL //looks like there is something wrong with the ACL
//break here //break here
return $perm; msg('No ACL setup yet! Denying access to everyone.');
return AUTH_NONE;
} }
}while(1); //this should never loop endless }while(1); //this should never loop endless
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment