Add a permission to replace an old, replace deprecated hook.