def find_permission_view_menu(self, permission_name, view_menu_name):
permission = self.find_permission(permission_name)<EOL>view_menu = self.find_view_menu(view_menu_name)<EOL>if permission and view_menu:<EOL><INDENT>return (<EOL>self.get_session.query(self.permissionview_model)<EOL>.filter_by(permission=permission, view_menu=view_menu)<EOL>.first()<EOL>)<EOL><DEDENT>
Finds and returns a PermissionView by names