Fixing glitches with permissions