Not sure what the spec is.   
This will work for harvested datasets as you said but currently the normal behavior is broken as an admin user is forced to make a dataset public.