Use the admin isGranted api to check if the user has access
Merge pull request #379 from interstroom/admin-is-granted-api

Use the admin isGranted api to check if the user has access
Merge remote-tracking branch 'sonata-project/master'