added directory to classes of premissions like Acl