Fix permission modal in layer detail
Merge pull request #1499 from ppasq/api-search

Fix permission modal in layer detail