added listallgrants command
bugfix: don't list placeholder, non-grant, and leave