Hey, I'm done fixing the bug you found (and a few others I found during testing), this patch release contains these fixes.
The next step is to move the meta tags option to the correct location, as directed by you, Damien. Soon our team will work on it.
Hey Damien, the first part is going to take a little longer to implement, so now I'm going to focus on the error you encountered. I was unable to replicate this error in my local environment. Could you provide more information on how to reproduce it?
Makes sense, I'll work on it.
The permission is already necessary if the user wants to edit the metatags because it is the permission for the "entity.metatag_defaults.edit_form" (route used for editing the metatags in this patch).
I'm just hiding the button in case the user doesn't have permission for the route the button would direct him to. :)
I just added a small validation to make the metatags edit button visible only if the user has the "administer meta tags" permission.