AMBARI-6854. Add resource name to privileges API. (mahadev)