Add permissions search functionality
Filtering functionality moved to module