query search with filter, check rights when change status