Fix permission issue on custom fields and grops