Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XFMG release (2.2.4).
Change log:
For new signatures, disallow [GALLERY] bb code if the user does not have the "Allow embedded media" signature permission.