Adding hasAccess implementation
Adding permission key