Correct 'missing argument 1' for $args on permissions_snapshot function