def apply(self, data, path=None, applicator=None):
if applicator:<EOL><INDENT>applicator.pset = self<EOL><DEDENT>else:<EOL><INDENT>applicator = Applicator(self)<EOL><DEDENT>return applicator.apply(data, path=path)<EOL>
Apply permissions in this set to the provided data, effectively
removing all keys from it are not permissioned to be viewed

Arguments:

data -- dict of data

Returns:

Cleaned data