Check permissions attribute against nil value