mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
Some more debug for ACL test on group now
This commit is contained in:
parent
532bcc5b07
commit
7b8387fd28
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user