At admin.php?xengallery/options on the Image Options tab I have checked "Enable Global Quotas (not permission based)" and set the following:
Maximum dimensions: 2592 x 1944
Maximum size: 1
Maximum at the same time: 3
However for every usergroup under the block "XenForo Media Gallery Image Media Quotas" everything is set to "Unlimited".
The question is, what is the permission that matters in this case? The global quotas or the usergroup permissions?