The openclose_thread permission is used in _underscore_templates.html for this purpose, so I repeated that here. I will look into the pin/unpin permission.