fix access rights back office

after applying the fix #742
It is necessary to modify the block "check-resource" in search.html
Merge pull request #746 from zzuutt/fix-profil-access-rights-admin.search

fix access rights back office