Allow {set,get,del}_tags to work on all resources

Fixes #12002.