SENTRY-332: A role may got empty privilege, although the role have some privileges (Dapeng Sun via Prasad Mujumdar)