public static function createACLWithUser($user)
    {
        $acl = new AVACL();
        $acl->setUserReadAccess($user, true);
        $acl->setUserWriteAccess($user, true);

        return $acl;
    }
public static function createACLWithUser($user)
    {
        $acl = new AVACL();
        $acl->setUserReadAccess($user, true);
        $acl->setUserWriteAccess($user, true);

        return $acl;
    }
public static function createACLWithUser ( $ user ) { $ acl = new AVACL ( ) ; $ acl -> setUserReadAccess ( $ user , true ) ; $ acl -> setUserWriteAccess ( $ user , true ) ; return $ acl ; }
Create new AVACL with read and write access for the given user.

@param AVUser $user

@return AVACL
Create new AVACL with read and write access for the given user .