def Allow(self, path, require=None, *args, **kwargs):
    regex_text = fnmatch.translate(path)
    regex = re.compile(regex_text)
    self.checks.append((regex_text, regex, require, args, kwargs))
Checks if given path pattern fits the subject passed in constructor.
dataset/ETHPy150Open google/grr/grr/lib/aff4_objects/user_managers.py/CheckAccessHelper.Allow