media_oembed_permission() creates the 'administer media oembed' permission, but this isn't used anywhere. The 'access arguments' for the settings form uses the permission 'administer site configuration'. Patch attached changes it to 'administer media oembed' since I think that's what was intended by creating that custom permission.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | use-correct-permission-2619236-1.patch | 495 bytes | shaundychko |
Comments
Comment #2
shaundychkoComment #3
devin carlson commentedThanks for the patch!
The permission is currently required to administer providers but I agree that it should also be used for general settings.
Tested #2 and committed to Media: oEmbed 7.x-2.x.