Some more debug for ACL test on group now

This commit is contained in:
nathangray 2018-08-29 13:31:48 -06:00
parent 532bcc5b07
commit 7b8387fd28

View File

@ -261,13 +261,14 @@ class AclCommandTest extends CommandBase {
$acl->read_repository();
echo "Rights:\n";
var_dump($acl->get_all_rights($data['location'], static::APP));
if($GLOBALS['egw_info']['server']['acl_default'] != 'deny')
var_dump($acl->check($data['location'], Acl::ADD, static::APP));
//if($GLOBALS['egw_info']['server']['acl_default'] != 'deny')
{
echo "DEBUG: Default allow\n";
// Default allow - nothing means they're allowed
$this->assertTrue($acl->check($data['location'], Acl::ADD, static::APP));
//$this->assertTrue($acl->check($data['location'], Acl::ADD, static::APP));
}
else
// else
{
// Default is deny - nothing means not allowed
echo "DEBUG: Default deny\n";