MDL-59248 mod_workshop: Fix permissions checks